To Execute the Project --
- pip install requirements.txt
Once you have a DB configured on your local -
- Update the database settings at settings.py, according to your server.
Run the Application -
- python manage.py makemigrations
- python manage.py migrate
- python manage.py runserver
Access the application from your local at - http://127.0.0.800/doc -- Swagger documentation that guides for navigating across the APIs.
- Before you use the functional APIs, please create a user using http://127.0.0.800/api/register , then login with the same credentials at http://127.0.0.800/login.
- you will be presented with a Bearer token which you can use to access the functional APIs.
- Swagger does not support updating Auth headers, hence use Postman or other request services that are available to send the request to your local server, by updating the Authorization header with the Bearer token.