How temples-dev/depotledger works
depotledger is an early-stage, multi-warehouse inventory and fulfilment platform. The implemented user-to-result path is a dashboard loading API health and database status: the React app calls its typed API client, which requests the backend health endpoint, which checks database connectivity. Catalogue endpoints and models are implemented; inventory, procurement, sales, fulfilment, and transfers are documented product capabilities, not sampled implementations. Those roadmap branches are shown as documented scope, not as verified runtime flows. The source excerpts do not establish routing from the root API URLs to catalogue endpoints.
Main entry points: apps Inventory ledger · views.py Catalogue endpoints · App.tsx Dashboard app · api.ts Health API client
Components 18
User interface and API
- Dashboard app
frontend/src/App.tsx - Health API client
frontend/src/lib/api.ts
Backend foundation
- Health endpoint
backend/config/views.py - Django settings
backend/config/settings/base.py - Active-user permission
backend/common/permissions.py - Celery application
backend/config/celery.py
Catalogue master data
- Catalogue endpoints
backend/apps/catalogue/views.py - Catalogue serializers
backend/apps/catalogue/serializers.py - Catalogue records
backend/apps/catalogue/models.py
Operations domain
- Inventory ledger
backend/apps - Procurement and receiving
backend/apps - Sales and backorders
backend/apps - Fulfilment and dispatch
backend/apps - Warehouse transfers
backend/apps - Platform capabilities
backend
Other components
- Operator
- PostgreSQL
- Redis broker
Connections 15
- Operator → Dashboard app: uses
frontend/src/App.tsx - Dashboard app → Health API client: calls
frontend/src/App.tsx - Health API client → Health endpoint: requests health
frontend/src/lib/api.ts - Health endpoint → PostgreSQL: checks connection
backend/config/views.py - Django settings → PostgreSQL: configures
backend/config/settings/base.py - Catalogue endpoints → Active-user permission: requires access
backend/apps/catalogue/views.py - Catalogue endpoints → Catalogue serializers: uses
backend/apps/catalogue/views.py - Catalogue endpoints → Catalogue records: queries
backend/apps/catalogue/views.py - Catalogue serializers → Catalogue records: serializes
backend/apps/catalogue/serializers.py - Celery application → Redis broker: uses broker
- Procurement and receiving → Inventory ledger: receipts affect stock
README.md - Sales and backorders → Inventory ledger: allocates reservations
README.md - Fulfilment and dispatch → Inventory ledger: dispatch deducts stock
README.md - Warehouse transfers → Inventory ledger: records movements
README.md - Platform capabilities → Inventory ledger: supports transactions
README.md