How rahul270903/bizflow works
BizFlow is a modular CRM/ERP platform: users work through a React SPA, whose API client calls Django services for CRM, inventory, procurement, sales fulfillment, billing, identity, and executive metrics. The documented business stages span lead conversion, purchasing and goods receipt, order reservation and shipment, then invoicing and payment. Sampled service code confirms CRM conversion, inventory adjustment, sales reservation/dispatch, and invoice settlement; other subsystem links are included only where the README or API paths document them.
Main entry points: client.js API client · sales/services.py Order and shipment · billing/services.py Invoice settlement · models.py Catalog and ledger
Components 24
React workspace
- BizFlow workspace
frontend/src/App.jsx - API client
frontend/src/api/client.js - Login and session
frontend/src/context/AuthContext.jsx - Executive dashboard
frontend/src/pages/DashboardPage.jsx - User settings
frontend/src/pages/SettingsPage.jsx - CRM workspace
frontend/src/pages/CRMPage.jsx - Inventory workspace
frontend/src/pages/InventoryPage.jsx - Purchasing workspace
frontend/src/pages/PurchasingPage.jsx - Sales workspace
frontend/src/pages/SalesPage.jsx - Billing workspace
frontend/src/pages/BillingPage.jsx
Identity and access
- Identity and RBAC
backend/apps/accounts - Business metrics
backend/apps/common/views.py
CRM pipeline
- CRM endpoints
backend/apps/crm/views.py - Lead conversion
backend/apps/crm/services.py - CRM records
backend/apps/crm/models.py
Supply and inventory
- Inventory endpoints
backend/apps/inventory/views.py - Stock adjustment
backend/apps/inventory/services.py - Catalog and ledger
backend/apps/inventory/models.py - Purchase and receipt
backend/apps/purchasing
Sales and finance
- Order and shipment
backend/apps/sales/services.py - Sales records
backend/apps/sales/models.py - Invoice settlement
backend/apps/billing/services.py - Invoices and payments
backend/apps/billing/models.py
Other components
- Business user
Connections 25
- Business user → BizFlow workspace: uses
- BizFlow workspace → API client: requests data
- Login and session → API client: authenticates via
frontend/src/context/AuthContext.jsx - CRM workspace → API client: requests CRM
- Inventory workspace → API client: requests stock
- Purchasing workspace → API client: requests purchasing
- Sales workspace → API client: requests orders
- Billing workspace → API client: requests billing
- Executive dashboard → API client: requests metrics
- User settings → API client: requests settings
- API client → Identity and RBAC: calls auth routes
frontend/src/api/client.js - API client → CRM endpoints: calls CRM routes
frontend/src/api/client.js - API client → Inventory endpoints: calls inventory routes
frontend/src/api/client.js - API client → Purchase and receipt: calls purchasing routes
frontend/src/api/client.js - API client → Order and shipment: calls sales routes
frontend/src/api/client.js - API client → Invoice settlement: calls billing routes
frontend/src/api/client.js - API client → Business metrics: calls dashboard route
frontend/src/api/client.js - Lead conversion → CRM records: creates records
backend/apps/crm/services.py - Stock adjustment → Catalog and ledger: updates and records
backend/apps/inventory/services.py - Order and shipment → Sales records: updates orders
backend/apps/sales/services.py - Order and shipment → Catalog and ledger: reserves and dispatches
backend/apps/sales/services.py - Invoice settlement → Invoices and payments: records settlement
backend/apps/billing/services.py - Invoice settlement → Sales records: reads order
backend/apps/billing/services.py - Purchase and receipt → Catalog and ledger: receipts increase stock
- Order and shipment → Invoice settlement: invoice workflow