This project is an API for a wine store. It is built with Django and Django Rest Framework. The project implement the basic logic in a e-commerce store (User authentication, User registration, User profile, List and get wines, List and get reviews for a wine, Create, update and delete reviews for a wine, Get, add, update and delete items in a shopping cart, Place an order). This project is 65% complete.
The project use cookiecutter-django as starting point. The project use Docker and docker-compose for development and deployment. Also use AllAuth
for and dj_auth_rest
for API authentication.
The main project features are features:
- User authentication 100%
- User registration
- User profile
- List and get wines
- List and get reviews for a wine
- Create, update and delete reviews for a wine
- Get, add, update and delete items in a shopping cart
- Place an order
This project has the following end points:
-
/api/authentication/
- List all users
-
/api/wines/
- List all wines -
/api/wines/<id>
- Get a wine by id -
/api/wines/<id>/reviews/
- List all reviews for a wine