How jyotiranjan784/django-ecommerce-platform works
This Django platform supports storefront browsing and search, checkout and Razorpay payment, order tracking, a blog with comments, and authenticated REST APIs. The sampled views show the web and API handlers using their respective domain models; API views also use serializers. README-described authentication and API documentation are included, but their underlying integrations are not fully sampled, so uncertain connections are omitted or marked dashed.
Main entry points: models.py Commerce Records · shop/views.py Storefront & Orders · blog/views.py Blog & Comments · urls.py API Routes
Components 16
Commerce
- Storefront & Orders
shop/views.py - Commerce Records
shop/models.py - Shop Pages
shop/templates
Blog
- Blog & Comments
blog/views.py - Blog Records
blog/models.py - Blog Pages
blog/templates/blog
REST API
- API Routes
api/urls.py - API Handlers
api/views.py - API Serializers
api/serializers.py - JWT Auth
- OpenAPI / Swagger
Ecomwebsite/urls.py
Platform
- Admin Panel
shop/admin.py - SQLite Database
Other components
- Shopper
- API Client
- Razorpay
Connections 18
- Shopper → Storefront & Orders: browses / orders
README.md - Storefront & Orders → Commerce Records: reads / writes
shop/views.py - Storefront & Orders → Shop Pages: renders
- Storefront & Orders → Razorpay: creates / verifies payments
shop/views.py - Shopper → Blog & Comments: reads / comments
README.md - Blog & Comments → Blog Records: reads / writes
blog/views.py - Blog & Comments → Blog Pages: renders
- API Client → API Routes: requests
README.md - API Routes → API Handlers: routes to
api/urls.py - API Handlers → Commerce Records: queries
api/views.py - API Handlers → API Serializers: serializes
api/views.py - API Serializers → Commerce Records: validates / creates
api/serializers.py - API Routes → JWT Auth: offers token routes
api/urls.py - API Client → JWT Auth: authenticates with
README.md - API Client → OpenAPI / Swagger: explores API
README.md - Admin Panel → Commerce Records: manages
shop/admin.py - Commerce Records → SQLite Database: persists in
- Blog Records → SQLite Database: persists in