Pizza-assignment

How to run the Project

  1. Clone or download the project into your computer
  2. Install the dependecies into a virtual environment using the pip command
  3. Create a super user using the command 'python manage.py createsuperuser'
  4. Run the server using the command 'python manage.py runserver'. This will enable you to work from the client side
  5. Run using your broswer the url 'localhost:8000' to see the project
  6. Use the url 'localhost:8000/admin' to view the admin page with your super user credentials
  7. Use the url 'localhost:8000/api/list' to view the api endpoints of the project
  8. Use the url 'localhost:8000/api/create' to write data to the api endpoint of the project
  9. Use the url 'localhost:8000/api/detail/f'{any_id}' to delete or modify an endpoint of the project

Documentation

Proper documentation of the API can be found here Pizza_api doc.docx