How thinvannika198/ecommerce_inventory works
This is a Django inventory and retail-management application with a public storefront and a staff back office. Shoppers browse products, manage a cart, and check out; staff can also ring up point-of-sale sales, manage purchasing and stock, and review customers, employees, and reports. The sampled views and URL configuration establish the request-routing and data-access layers, while the README is empty. Several feature areas are visible only through routes and templates, so their internal behavior is not expanded beyond supported links.
Main entry points: urls.py HTTP routing · models.py Inventory domain · views.py Product catalog · pos.js POS interface
Components 18
Storefront commerce
- Storefront browsing
inventory/views.py - Shopping cart
inventory/views.py - Web checkout
inventory/views.py
Inventory operations
- Product catalog
inventory/views.py - Stock management
inventory/views.py - Supplier purchasing
inventory/views.py - Employees and jobs
inventory/views.py
Sales and customers
- POS interface
inventory/static/backoffice/js/pos.js - POS checkout
inventory/views.py - Orders and payments
inventory/views.py - Customer accounts
inventory/views.py - Dashboard and reports
inventory/views.py
Application core
- Catalog forms
inventory/form.py - Inventory domain
inventory/models.py - HTTP routing
inventory/urls.py
Other components
- Shopper
- Back-office staff
- PostgreSQL database
Connections 36
- Shopper → Storefront browsing: browses
- Shopper → Shopping cart: manages items
- Shopper → Web checkout: submits order
- Back-office staff → Product catalog: maintains products
- Back-office staff → Stock management: manages stock
- Back-office staff → Supplier purchasing: records purchases
- Back-office staff → POS interface: rings up sale
- Back-office staff → Orders and payments: reviews orders
- Back-office staff → Customer accounts: manages customers
- Back-office staff → Employees and jobs: manages workforce
- Back-office staff → Dashboard and reports: reviews reports
- POS interface → POS checkout: posts checkout
inventory/static/backoffice/js/pos.js - Storefront browsing → Inventory domain: queries products
inventory/views.py - Shopping cart → Inventory domain: uses product data
inventory/views.py - Web checkout → Inventory domain: records order
inventory/views.py - Product catalog → Catalog forms: validates input
inventory/views.py - Stock management → Catalog forms: validates adjustments
inventory/views.py - Product catalog → Inventory domain: manages catalog
inventory/views.py - Stock management → Inventory domain: updates inventory
inventory/views.py - Supplier purchasing → Inventory domain: records purchases
inventory/views.py - POS checkout → Inventory domain: creates invoice
inventory/views.py - Orders and payments → Inventory domain: reads invoices
inventory/views.py - Customer accounts → Inventory domain: queries customers
inventory/views.py - Dashboard and reports → Inventory domain: aggregates sales
inventory/views.py - HTTP routing → Storefront browsing: routes requests
inventory/urls.py - HTTP routing → Shopping cart: routes requests
inventory/urls.py - HTTP routing → Web checkout: routes requests
inventory/urls.py - HTTP routing → Product catalog: routes requests
inventory/urls.py - HTTP routing → Stock management: routes requests
inventory/urls.py - HTTP routing → Supplier purchasing: routes requests
inventory/urls.py - HTTP routing → POS checkout: routes requests
inventory/urls.py - HTTP routing → Orders and payments: routes requests
inventory/urls.py - HTTP routing → Customer accounts: routes requests
inventory/urls.py - HTTP routing → Employees and jobs: routes requests
inventory/urls.py - HTTP routing → Dashboard and reports: routes requests
inventory/urls.py - Inventory domain → PostgreSQL database: persists records