Implementation of a REST API using Django Rest Framework.
Set up:
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver # starts application on port 8000
You can create an additional super user with the command
python manage.py createsuperuser
or you can use the existing super user with the credentials username - admin password - luckycat
The list of API endpoints and authorization of different user types can be found here https://www.coursera.org/learn/apis/supplement/Ig5me/project-structure-and-api-routes
You can also view the Swagger documentation for this API with the following url format
https://{host}:{port}/docs/
In order to authenticate your API calls, you can add the following to the request headers
Header:
{'Authorization': 'Token {your_token}'}
Please do not copy this repo to submit as the final project for the Meta: APIs course on coursera.