A simple proof-of-concept application which can store sensor data (eg. temperature sensor data) coming on a POST endpoint, expose the stored data on a GET endpoint as well as using WebSocket .
Has a Frontend Application developed in React Js which can display to the enduser, stored sensor data as well as a graph of the stored data.
Application is Developed with
- Django
- Django REST Framework
- Channals (for WebSocket)
- React Js
Screenshot
Pre-requirements
- Docker
- Node.js
To run application \
- $docker pull redis
- $python3 -m pip install -r ./docker/python/requirements.txt
- $python3 manage.py runserver
- go to http://localhost:8000
or through Docker run commands
Docker Container details (Development SetUp)
- basicpython (Django)
- port 8000
- basicmysql (Database)
- port 8306
- redis
- port 6379