E-Commerce Backend
A multi-tenant e-commerce backend in Django REST Framework: each vendor gets their own shop on a subdomain with SSL and its own API docs. Auth, catalog, and orders, with Celery and Redis for background work. Built as a deep dive into DRF and multi-tenancy - it runs and has pytest coverage, but isn't hosted as a live service.
- Year
- 2024
- Focus
- Backend
Overview
The interesting part is multi-tenancy: one codebase serves many shops, each isolated on its own subdomain with separate API documentation. Celery and Redis handle work that shouldn't block a request, and the project leans on pytest so the tenant isolation and order flows are actually verified rather than assumed.
Highlights
Multi-tenant shops
One backend serves many vendors, each isolated on its own subdomain with its own API docs.
Background work
Celery + Redis move slow work off the request path.
Tested
pytest coverage over tenant isolation and the order flow.
Stack