The aim of the thesis was to develop a hybrid mobile application, which allows the user to monitor temperatures from sensors inside a building. In addition to the application, a back-end was developed. It is used for storing measurements sent from sensors via the API interface. The mobile application was built using the Ionic framework, which uses Angular and Apache Cordova to build hybrid mobile applications. It allows a user to access data from several databases, namely from a preexisting local database, direct connection to sensors using MQTT and from our own back-end database. The back-end is implemented with Docker-Compose, which connects all of the components packed up in Docker containers. Each container is implemented with different technology, depending on its role. Node.Js is used for API, Eclipse Mosquitto as an MQTT broker, phpPgAdmin for quick database access and PostgreSQL for a database. The thesis also describes different approaches to creating hybrid applications, shows their advantages and compares them.
|