This repository serves as my personal submission for the Final Project in the APIs Course offered by Meta through Coursera in the Back-End Developer Professional Certificate.
apis-final-project-meta
│
LittleLemon/
│ ├───LittleLemon/
│ │ ├───asgi.py
│ │ ├───settings.py
│ │ ├───urls.py
│ │ └───wsgi.py
│ ├───LittleLemonAPI/
│ │ ├───admin.py
│ │ ├───apps.py
│ │ ├───models.py
│ │ ├───permissions.py
│ │ ├───serializers.py
│ │ ├───tests.py
│ │ ├───urls.py
│ │ └───views.py
│ ├───db.sqlite3
│ └───manage.py
│
README.md
$ cd apis-final-project-meta/LittleLemon
$ pipenv shell
$ pipenv install
$ python3 manage.py makemigrations
$ python3 manage.py migrate
$ python3 manage.py runserver
Username: admin
Email: admin@littlelemon.com
Password: admin@123!
- The admin can assign users to the manager group
- You can access the manager group with an admin token
- The admin can add menu items
- The admin can add categories
- Managers can log in
- Managers can update the item of the day
- Managers can assign users to the delivery crew
- Managers can assign orders to the delivery crew
- The delivery crew can access orders assigned to them
- The delivery crew can update an order as delivered
- Customers can register
- Customers can log in using their username and password and get access tokens
- Customers can browse all categories
- Customers can browse all the menu items at once
- Customers can browse menu items by category
- Customers can paginate menu items
- Customers can sort menu items by price
- Customers can add menu items to the cart
- Customers can access previously added items in the cart
- Customers can place orders
- Customers can browse their own orders