Skip to content

h3nr1-g/Smart-Pump-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Smart Pump Backend

Summary

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.

Disclaminer

DO NOT USE for critical infrastructure.

Required Python Packages

For Development & Testing (see requirements/dev.txt)

  • coverage
  • Django
  • djangorestframework
  • django-bootstrap4
  • django-tables2
  • django-webtest
  • django-jenkins
  • pycodestyle
  • pylint

For Execution (see requirements/runtime.txt)

  • Django
  • djangorestframework
  • django-bootstrap4
  • django-tables2

Run Software (Development and Debug Mode)

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published