An E-commerce API built using Django Rest Framework.
The project has 5 local Apps:
- Users
- Products
- Orders
- Checkouts
- Registration using either phone and email (Activate account by email)
- Login system with Json Web Token(JWT)
- Login with email, password
- Login with phone number(send SMS code)
- Password change endpoint.
- Custom permissions set for necessary endpoints(for each app)
- Payment system using Zarinpal and IDpay
- Documentation using Swagger UI
- Django
- Django Rest Framework
- PostgreSQL
- Celery
Database Relationship diagram generated using dbdiagram
- Clone this repository to your local machine:
git clone https://github.com/shahriar-fattahi/django-ecommerce-api
-
Rename the .env.example file found in the root directory of the project to .env and update the environment variables accordingly.
-
Create a Virtual Environment:
python -m venv your_venv_name
- Install Requirements:
pip install -r requirements.txt