Skip to content

truonganhvu205/little-lemon-web-application-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clone project

git init
git clone https://github.com/truonganhvu205/little-lemon-web-application-django.git
cd little-lemon-web-application-django

Install pipenv

pip3 install pipenv

Activate virtual environment

pipenv --python 3.10
pipenv shell

Install Django & frameworks

# Django
pipenv install django

# Frameworks
pipenv install mysqlclient
pipenv install djangorestframework
pipenv install djoser

Connect to MySQL

mysql -u root -p
create database littlelemon;

exit

Run server

python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver

API endpoints

/auth/
/restaurant/api-token-auth/
/restaurant/
/restaurant/booking/tables
/restaurant/api/menu-items/
/restaurant/api/menu-items/<int:pk>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published