Commit Graph

30 Commits (7558ab473709112f7425925a5b9e663a931278e2)

Author SHA1 Message Date
esensar 7558ab4737 Force gunicorn to preload to prevent multiple mqtt subscriptions 2018-05-04 10:21:56 +02:00
esensar 50d67fd521 Make MqttClient a singleton 2018-05-04 08:35:26 +02:00
esensar 4dbba2b44c Encapsulate Mqtt client in a class 2018-05-03 22:30:34 +02:00
esensar 41394f2c2d Leave only upgrade task in release-tasks 2018-05-03 21:03:22 +02:00
esensar 6c7d0a5de6 Add release-tasks script for setting up database 2018-05-03 21:00:48 +02:00
esensar 05f4abea3c Connect to hivemq broker for testing 2018-05-03 20:56:48 +02:00
esensar f4e2ace7b0 Make config loading silent 2018-05-03 20:55:16 +02:00
esensar e7b24a3e75 Add Procfile for heroku 2018-05-03 20:50:51 +02:00
esensar 23303bdb3f Change response to JSON 2018-05-03 17:01:32 +02:00
esensar 2f9fac3540 Add simple registration 2018-05-03 16:58:44 +02:00
esensar 40f5e4f546 Add roles in migration 2018-05-03 16:40:30 +02:00
esensar 066b6a5fd3 Add email field to account 2018-05-03 15:28:57 +02:00
esensar e188141a2a Clean up imports and bad code 2018-05-03 14:23:24 +02:00
esensar 9615a07e49 Add account and role db models 2018-05-03 09:48:24 +02:00
esensar 1dea242bce Connect MQTT client to database and implement basic JSON parsing 2018-05-02 21:05:30 +02:00
esensar d82d46109b Merge branch 'master' of github.com:esensar/university-final-iot-backend 2018-05-02 18:59:13 +02:00
Ensar Sarajčić 693fe141ba
Create README.md 2018-05-02 18:59:01 +02:00
esensar dcddb07e11 Update Recording model to use proper timestamps 2018-04-27 16:06:16 +02:00
esensar eeba793162 Separate mqtt client in a module 2018-04-27 11:15:44 +02:00
esensar d8d06c2a87 Add simple recordings table 2018-04-27 10:47:24 +02:00
esensar 5018fc10e2 Make devices module export a blueprint for better modularity 2018-04-26 16:45:28 +02:00
esensar 45e63255eb Add requirements.txt 2018-04-26 16:11:32 +02:00
esensar 75d69e8d22 Reformat files according to PEP8 2018-04-26 15:03:38 +02:00
esensar 6af6cf1d18 Add env to gitignore 2018-04-26 14:53:20 +02:00
esensar 9bf7e9d5e0 Add basic SQLAlchemy setup 2018-04-26 14:51:37 +02:00
esensar 574cb8bb49 Add devices module with MQTT client 2018-04-26 14:12:20 +02:00
esensar 7cb99cd04f Added virtual environment and directory structure 2018-04-26 10:49:09 +02:00
esensar 249c5e9343 Add DEBUG config variable 2018-04-25 16:02:29 +02:00
esensar 3b812d49a9 Embed simple MQTT client in the application 2018-04-25 15:51:28 +02:00
esensar 4f95b44205 Initialize flask project 2018-04-19 20:52:36 +02:00