- bin/www - changed port from 3000 to 9000
- app.js - registered "cors" NodeJS module and routes /sensorsData and /testAPI (just for testing and to be removed)
- db.js - database connection
- ttn.js - thethingsnetwork.org console connection
- sensorsData.js - actual route from where we get data in json format
- tableModel.js - javascript Model class for accessing "sensors_data" table from "agritech_ttn" database
- tableController - javascript Controller class for passing it's methods to views
Note: Checkout MVC pattern!
- Integrate thethingsnetwork.org connection into a functionality that always downloads and writes data into the database
- Notifications for out of scope sensor data
- Remove unnecessary files
- Package vulnerabilities: to be researched and fixed
- Security: to be researched and implemented
- Making this README.md a proper README file