IoT Based Dustbin Dashboard
Live URL: https://smartbin.pythonanywhere.com/
Username: admin
Password: pass
URL: https://smartbin.pythonanywhere.com/add_garbage_data/
allowed method: [POST, GET]
parametes required: ["bin_id", "garbage_level", "moisture_status"]
POST JSON Example:
{
"bin_id": 2,
"garbage_level": 80,
"moisture_status": true
}
URL: https://smartbin.pythonanywhere.com/get_garbage_data/
allowed method: [GET]
parametes required: ["bin_id"]
Example:
https://smartbin.pythonanywhere.com/get_garbage_data/?bin_id=2
pip install -r requirements.txt
python manage.py runserver