How milanmagrati/e-commerce-project works
This is a Django operations and commerce platform: customers place store orders, while staff manage orders, inventory, delivery, billing, and related business workflows. Its separate apps also cover HR, rewards, chat/CRM, Google Sheets synchronization, and Sentinel Vault auditing. The tree and source index establish these product areas; sampled excerpts support only the specific service-to-model and webhook relationships shown below. The README is empty, and unsampled app internals and most routing relationships are not verified.
Main entry points: models.py Orders and products · webhook_handler.py NCM webhook handler · services.py Sentinel Vault · ncm_service.py NCM logistics sync
Components 27
Commerce and inventory
- Online storefront
myproject/store/views.py - Store orders
myproject/store/models.py - Stock reservations
myproject/inventory/services.py
Business operations
- Operations dashboard
myproject/dashboard/views.py - Orders and products
myproject/dashboard/models.py - HR and payroll
myproject/hrm/views.py - Bill rewards
myproject/bill_rewards/ocr_service.py - Product matching
myproject/bill_rewards/matching_service.py
External integrations
- Sheets synchronization
myproject/google_sheets/services.py - NCM logistics sync
myproject/services/ncm_service.py - NCM webhook handler
myproject/ncm/webhook_handler.py - NCM records
myproject/ncm/models.py - SMS notifications
myproject/services/sms_service.py - WooCommerce sync
myproject/integrations/services.py - WooCommerce orders
myproject/integrations/models.py - Pick and Drop service
myproject/services/pick_and_drop_service.py
Access and auditing
- Accounts
myproject/accounts/views.py - Sentinel Vault
myproject/sentinel/services.py - Audit context
myproject/sentinel/context.py - Audit registry
myproject/sentinel/registry.py - Audit records
myproject/sentinel/models.py - Audit utilities
myproject/sentinel/utils.py
Other components
- Customer
- NCM API
- Delivery API
Connections 27
- Customer → Online storefront: browses
- Online storefront → Store orders: records orders
- Stock reservations → Store orders: reserves stock
myproject/inventory/services.py - Stock reservations → Orders and products: updates reservations
myproject/inventory/services.py - Product matching → Orders and products: matches products
myproject/bill_rewards/matching_service.py - Product matching → Bill rewards: supports bill matching
- Sheets synchronization → Orders and products: reads or writes
myproject/google_sheets/services.py - Sheets synchronization → Store orders: reads or writes
- Sheets synchronization → WooCommerce orders: reads or writes
- NCM webhook handler → Orders and products: updates orders
myproject/ncm/webhook_handler.py - NCM webhook handler → NCM records: records webhook
myproject/ncm/webhook_handler.py - NCM webhook handler → SMS notifications: sends notifications
myproject/ncm/webhook_handler.py - NCM webhook handler → NCM logistics sync: uses service
myproject/ncm/webhook_handler.py - NCM webhook handler → Orders and products: uses timezone utilities
myproject/ncm/webhook_handler.py - NCM webhook handler → Orders and products: checks status overrides
myproject/ncm/webhook_handler.py - NCM logistics sync → Orders and products: uses order data
myproject/services/ncm_service.py - NCM logistics sync → Orders and products: uses timezone utilities
myproject/services/ncm_service.py - NCM logistics sync → NCM API: calls API
myproject/services/ncm_service.py - NCM API → NCM webhook handler: posts events
- WooCommerce sync → Store orders: upserts orders
myproject/integrations/services.py - WooCommerce sync → WooCommerce orders: upserts records
myproject/integrations/services.py - Pick and Drop service → Delivery API: calls API
myproject/services/pick_and_drop_service.py - Sentinel Vault → Audit context: uses context
myproject/sentinel/services.py - Sentinel Vault → Audit registry: uses registry
myproject/sentinel/services.py - Sentinel Vault → Audit records: records audit data
myproject/sentinel/services.py - Sentinel Vault → Audit utilities: uses utilities
myproject/sentinel/services.py - Sentinel Vault → Orders and products: uses timezone utilities
myproject/sentinel/services.py