Abdulazizovv /
ecommerce
🛒 Django REST Framework e-commerce backend with JWT authentication, advanced admin panel, sequential order management, and optimized database performance. Production-ready with Docker support.
Loading repository data…
Akmal7780 / repository
Production-ready E-commerce Backend API built with Django REST Framework, PostgreSQL, Redis, Celery, and Docker.
A scalable E-commerce Backend API built with Django and Django REST Framework. This project provides a complete backend solution for an online store including product management, shopping cart, orders, payments, delivery addresses, and product reviews.
The project is fully Dockerized and uses PostgreSQL, Redis, and Celery for scalable and production-ready architecture.
Backend
Database
Async & Caching
Infrastructure
Authentication
Documentation
ecommerce/
│
├── users/ # Authentication and user management
├── products/ # Products, categories, brands
├── cart/ # Shopping cart logic
├── orders/ # Order management
├── payments/ # Payment processing
├── reviews/ # Product reviews and ratings
├── delivery/ # Delivery addresses
│
├── config/ # Django project configuration
│
├── Dockerfile
├── docker-compose.yml
├── requirements.txt
├── manage.py
└── README.md
git clone https://github.com/your-username/ecommerce-backend.git
cd ecommerce-backend
cp .env.example .env
Update .env file with your settings.
Example:
DB_NAME=ecommerce_db
DB_USER=postgres
DB_PASSWORD=postgres
DB_HOST=db
DB_PORT=5432
SECRET_KEY=your-secret-key
DEBUG=True
docker compose up --build
docker compose exec web python manage.py migrate
docker compose exec web python manage.py createsuperuser
Server will run at:
http://localhost:8000
Admin panel:
http://localhost:8000/admin/
Swagger API documentation:
http://localhost:8000/api/docs/
The backend consists of the following modules:
Example endpoints:
POST /api/login/
POST /api/register/
GET /api/v1/products/
GET /api/v1/products/popular/
GET /api/v1/products/top-rated/
GET /api/v1/cart/
POST /api/v1/cart/add/
DELETE /api/v1/cart/remove/{product_id}/
POST /api/v1/checkout/
GET /api/v1/orders/
GET /api/v1/orders/{id}/
POST /api/v1/payments/create/
POST /api/v1/reviews/
GET /api/v1/reviews/{id}/
User
│
▼
Register / Login
│
▼
Browse Products
│
▼
View Product Detail
│
▼
Add to Cart
│
▼
Create Delivery Address
│
▼
Checkout
│
▼
Create Order
│
▼
Payment
│
▼
Order Completed
│
▼
Write Review
User
│
├── Wishlist
│ │
│ ▼
│ Product
│
▼
CartItem
│
▼
Product
│
▼
Category
│
▼
Brand
Order
│
├── OrderItem
│ │
│ ▼
│ Product
│
▼
Payment
DeliveryAddress
Review
│
▼
Product
Client (Frontend / Mobile)
│
▼
Django API
(Django REST Framework)
│
┌──────────────┼──────────────┐
▼ ▼ ▼
PostgreSQL Redis Celery
Database Cache & Background
Broker Tasks
│
▼
Email / Notifications
Celery is used for asynchronous tasks such as:
Redis is used as a message broker for Celery.
Swagger documentation is available at:
http://localhost:8000/api/docs/
It provides interactive API testing and schema documentation.
This project is licensed under the MIT License.
Backend Developer Portfolio Project.
Selected from shared topics, language and repository description—not editorial ratings.
Abdulazizovv /
🛒 Django REST Framework e-commerce backend with JWT authentication, advanced admin panel, sequential order management, and optimized database performance. Production-ready with Docker support.
Zunku /
Scalable Django e-commerce API with JWT auth, Redis caching, Celery workers, and production-ready architecture.
JohnsonChong0123 /
Production-ready FastAPI e-commerce backend with JWT authentication, PostgreSQL, and RESTful API design. Paired with Flutter mobile client.
herfando /
Scalable e-commerce backend API built with Python, FastAPI, PostgreSQL, and Redis. Designed with clean architecture and production-ready practices including authentication, caching, and RESTful API development
shubhampatil-code /
A production-ready REST API for an e-commerce platform built with Python, Django, and DRF
CristianMz21 /
Production-ready e-commerce REST API · Django + DRF · cache, filters, optimized queries