Skip to content

atulpuri/LittleLemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Little Lemon Restauraunt

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.

About

Django API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages