Sentra F&B — Modules¶
Struktur modul dirancang menggunakan arsitektur monolitik modular (Modular Monolithic Architecture) agar pembagian unit kerja kode terpisah jelas dan siap didistribusikan ke server terpisah.
sentrafnb-platform/
├── apps/
│ ├── pos-desktop/ # Aplikasi Kasir POS & Map Meja (Tauri + React)
│ ├── kds-display/ # Aplikasi Dapur KDS (Tauri Client)
│ ├── owner-mobile/ # Dashboard Pemilik HP (React Native / Flutter)
├── core-services/
│ ├── api-gateway/ # Central Proxy API
│ ├── services/
│ │ ├── sales-engine/ # Modul Transaksi, PB1, Service Charge
│ │ ├── kitchen-router/ # Router pemilah KDS Tiket (Dapur / Bar)
│ │ ├── inventory-engine/ # Modul konversi HPP & pemotongan resep otomatis
│ │ ├── hr-payroll/ # Modul tip pooling & absensi shift
│ │ └── online-aggregators/ # Integrasi GrabFood / GoFood Webhooks
| Modul | File | Deskripsi |
|---|---|---|
| POS / Kasir | pos.md | Order entry, split-bill, table management |
| Kitchen Display System | kds.md | Live order display untuk dapur, state machine order |
| Inventory & Ingredient | inventory.md | FIFO/FEFO bahan baku, supplier reorder |
| Recipe & HPP | recipe-hpp.md | Resep, ingredient deduction, HPP teoritis vs riil |
| Payroll & Tip | payroll.md | Tip distribution, service charge, payroll |