Skip to content

Shrey139/PizzaAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PizzaAPI

An API for ordering Pizza

Project Installation & Run:

Installation:

  • Activate Virtual Enviorment

source venv/Scripts/activat

  • Install all the requirements

pip install -r requirements.txt

Run project:

  • Migrate your project first

python manage.py makemigrations

python manage.py migrate

  • Run

python manage.py runserver

API :

USER

  • Get all the pizza [get Request]

http://localhost:8000/api/v1pizza/

  • Get user by ID [get Request]

http://localhost:8000/api/v1/pizza/**id**

  • Create User [post Request]

http://localhost:8000/api/v1/pizza/

Admin:

  • Credentials

USERNAME: admin

PASSWORD: admin

About

An API for ordering Pizza

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages