CKMS (Central Kitchen Management System) is a comprehensive supply chain management solution for F&B chains with central kitchen operations. It streamlines ordering, inventory, production planning, and delivery between franchise stores and central kitchens.
| Role | Responsibilities |
|---|---|
| Admin | System configuration, user management, full access |
| Manager | Oversee operations, approve orders, view reports |
| Supply Coordinator | Manage inventory, coordinate shipments |
| Kitchen Staff | Execute production plans, manage batches |
| Store Staff | Create orders, receive shipments, manage store inventory |
- Stores create orders for products from central kitchen
- Order workflow: draft → submitted → confirmed → in_production → ready → in_delivery → delivered
- Role-based permissions for order operations
- Track stock levels per store/kitchen
- Batch tracking with expiry dates
- Automatic alerts for low stock and expiring items
- Transaction logging for all stock movements
- Schedule production based on orders
- Track production progress
- Link produced items to batches for traceability
- Create shipments from confirmed orders
- Track delivery status
- Link shipped items to specific batches
- Define product recipes (bill of materials)
- Track material requirements for production
- Supabase Auth with JWT tokens
- Role-based access control (RBAC) with 5 roles
- Chain-level data isolation (multi-tenancy ready)
- Paginated API responses
- Database indexes on common query patterns
- Row Level Security for data protection
- RESTful endpoints with Swagger documentation
- Consistent response format via interceptors
- Global exception handling
- Single-chain deployment (multi-chain architecture prepared but not active)
- Local Supabase for development, cloud Supabase for production
- Bun as package manager (not npm/yarn)
- Order processing time reduction
- Inventory accuracy improvement
- Production waste reduction
- Delivery on-time rate
Phase: Initial Development
- Auth system: Implemented
- Orders module: Template implemented
- Database schema: Complete (15 tables)
- Frontend: Basic auth integration
- Complete inventory management module
- Implement production planning
- Add shipment tracking
- Build dashboard with analytics