Smart Pump is an autonomous system which waters yours plants when you are not at home.
Smart Pump Backend is the back end component of this autonomous watering system. It is based on the Django web application framework and Bootstrap 4 CSS framework. It provides a HTTP REST API for the clients in order to fetch all relevant information e.g. the duration of a pump cycle and the timespan between to cycles. The web application has also a built-in monitoring function and shows you the "health status" of your pump.
DO NOT USE for critical infrastructure.
- coverage
- Django
- djangorestframework
- django-bootstrap4
- django-tables2
- django-webtest
- django-jenkins
- pycodestyle
- pylint
- Django
- djangorestframework
- django-bootstrap4
- django-tables2
git clone https://github.com/h3nr1-g/Smart-Pump-Backend.git
cd Smart-Pump-Backend
pip install -r requirements/dev.txt
cd spb
python manage.py makemigrations --settings=spb.settings.dev api monitor && python manage.py migrate --settings=spb.settings.dev
python manage.py createsuperuser --settings=spb.settings.dev
python manage.py test --settings=spb.settings.dev && python manage.py runserver --settings=spb.settings.dev