An open API service indexing awesome lists of open source software.

https://github.com/phantu279999/rest-api-littlelemon

This project django-rest-famework provide APIs Restaurant
https://github.com/phantu279999/rest-api-littlelemon

api django django-rest-framework oath

Last synced: 2 months ago
JSON representation

This project django-rest-famework provide APIs Restaurant

Awesome Lists containing this project

README

          

# API LittleLemon Restaurants
## I leaned at Coursera [Link](https://www.coursera.org/account/accomplishments/specialization/E6E4YSJGEUA2)
#### User Group(Manager, Delivery crew)

### List Endpoint

#### /auth/users
Creates a new user with name, email and password
#### /auth/users/me
Displays only the current user
#### /auth/token/login
Generates access tokens that can be used in other API calls in this project
#### /api/menu-items
Lists all menu items.
#### /api/menu-items/{id}
Lists single menu item
#### /api/groups/{group_name}/users/
Returns all users in group
#### /api/cart/menu-items
Returns current items in the cart for the current user token
#### /api/orders
Returns all orders with order items created by this user
#### /api/orders/{orderId}
Returns all items for this order id. If the order ID doesn’t belong to the current user, it displays an appropriate HTTP error status code.