Skip to content

Capstone project as part of backend specialization offered by Meta on Coursera

Notifications You must be signed in to change notification settings

sudhirnagendragupta/littlelemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project has been completed as part of the capstone project for the course 
titled 'Back-end Developer Capstone' created by Meta in association with Coursera.
It was indeed a great learning experience and I am thankful to Meta and Coursera for creating 
this meaningful learning experience.

Django superuser: This will be your superuser as the one I created has been
registered in my MySql database. You can create your own superuser by running the following command in the terminal:
python3 manage.py createsuperuser


Restaurant home: http://127.0.0.1:8000/restaurant/

Github link: https://github.com/sudhirnagendragupta/littlelemon

Please check the model schema to understand what fields are needed. Hopefully you are
using the same field names in the MySql tables that you have created.


# You can test the following API routes either in the browser or through 
# Insomnia/Postman
** Please do not forget to append backslash '/' at the end of the url **
# You need to be logged in as a user to access these routes

restaurant/menu_api/                 
restaurant/menu_api/<int:pk>/   
restaurant/booking_api/tables/


For user registration
/auth/token/login/     # To create the token. You need to be logged in as superuser to access this route
/auth/users/           # To register a new user. You need to be logged in as superuser to access this route
restaurant/api-token-auth/       # Make a post call to this route with username and password to get the token

For running the tests
Pagination has been commented in the settings files to enable to run the tests. 
Please uncomment it after running the unit tests if you want to test pagination.

About

Capstone project as part of backend specialization offered by Meta on Coursera

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published