A Django Rest framework Based API for E-commerce system . build on docker image
- Django Rest Framework
- Postgres
- Docker
- clone the repository
- open terminal/cmd in the root directory of the repository
- run
docker-compose up
- for migration
docker-compose run web manage.py migrate
-
Add product has bugs .. have to fix them -
create category and product, other individual features should have different permission classes.
- still authenticated users can do product create. they shouldnt.
-
create user roles.
added Provider Role
-
search endpoints.
-
test out why images are not getting uploaded.1. test in the staging server.2. check the slugs. -
plan the whole api endpoints.
-
Order still needs to send an fake user id but it should not -
User creation is not working need better solution -
Order get method only show the list of orders by that perticular user -
features
- 3 types of users can consists in this system.
- Admin, Provider, Customer
- an additional alluser
- Customer can add reviews, order everything
- alluser will have readonly view of everything
- Provider can add products, numbers and all
- admin can add categories and remove products