this project is exam code in coursera meta course.
description of exam:
Introduction
This reading is an overview of the scope of the project, all the necessary endpoints, and notes that you will have to implement in the final project. This reading will help you to successfully complete the project so read it carefully and reference it while developing your API project to help you keep on track. Scope
You will create a fully functioning API project for the Little Lemon restaurant so that the client application developers can use the APIs to develop web and mobile applications. People with different roles will be able to browse, add and edit menu items, place orders, browse orders, assign delivery crew to orders and finally deliver the orders.
The next section will walk you through the required endpoints with an authorization level and other helpful notes. Your task is to create these endpoints by following the instructions. Structure
You will create one single Django app called LittleLemonAPI and implement all API endpoints in it. Use pipenv to manage the dependencies in the virtual environment. Review the video about Creating a Django Project using pipenv. Function or class-based views
You can use function- or class-based views or both in this project. Follow the proper API naming convention throughout the project. Review the video about Function- and class-based views as well as the video about Naming conventions. User groups
Create the following two user groups and then create some random users and assign them to these groups from the Django admin panel.
Manager
Delivery crew
API endpoints
Here are all the required API routes for this project grouped into several categories. User registration and token generation endpoints
You can use Djoser in your project to automatically create the following endpoints and functionalities for you.
Menu-items endpoints
User group management endpoints
Order management endpoints