This is an API for a real time driver availability system. This also includes a standalone website for checking too.
There is an Android app for drivers and it has a straightforward registration and log-in option. Once logged-in, the drivers can change the status in the app and is updated in the dashboard in realtime through API calls.
To run the django website in your local system,
- Clone the repository
git clone https://github.com/zorroblue/driver_status
cd driver_status
- Make migrations if any
python manage.py makemigrations
- Run migrations if any
python manage.py migrate
- Install the requirements
pip install -r requirements.txt
, preferrable in a virtual environment. - Run the server
python manage.py runserver
It starts running in localhost:8000/