How luthfihalimii/fuzta-project works
Pizza Fruzta is a Laravel branch-operations and digital-ordering application with an Inertia/Vue staff interface and a public customer API. Staff take POS orders under cashier shifts; orders proceed through payment and kitchen status handling, while the customer API adds account, QRIS, and delivery capabilities. Separate operational domains cover catalog, inventory, purchasing, reports, audit, and branch management. Edges are limited to relationships shown in the excerpts, SOURCE INDEX references, or README; many unsampled API and domain internals are represented without speculative call chains.
Main entry points: Index.vue POS and staff UI · Order.php Order lifecycle · CheckoutController.php Customer checkout · PosController.php POS order handling
Components 23
Staff experience
- POS and staff UI
resources/js/pages/pos/Index.vue
Ordering and payments
- POS order handling
app/Modules/Ordering/Http/Controllers/PosController.php - Order lifecycle
app/Modules/Ordering/Models/Order.php - Catalog and pricing
app/Modules/Catalog/Http/Controllers/ProductController.php - Payments
app/Modules/Payments/Models/Payment.php
Branch operations
- Kitchen workflow
app/Modules/Kitchen/Http/Controllers/KitchenController.php - Inventory ledger
app/Modules/Inventory/Actions/RecordStockMovement.php - Purchasing
app/Modules/Purchasing/Http/Controllers/PurchaseController.php - Cashier shifts
app/Modules/Shifts/Models/CashierShift.php - Branches
app/Modules/Branches/Models/Branch.php - Operational reports
app/Modules/Reporting/Http/Controllers/ReportController.php
Customer API and delivery
- Customer checkout
app/Modules/Ordering/Http/Controllers/Api/CheckoutController.php - DOKU gateway
app/Modules/Payments/Clients/DokuClient.php - Customer accounts
app/Modules/Customers/Actions/RegisterCustomer.php - Delivery orchestration
app/Modules/Delivery/Actions/CreateBiteshipShipment.php - Biteship service
app/Modules/Delivery/Clients/BiteshipClient.php
Shared domain
- Web and API routing
bootstrap/app.php - Audit records
app/Modules/Identity/Actions/WriteAuditLog.php - Audit log store
app/Modules/Audit/Models/AuditLog.php - Alerts and push
app/Modules/Notifications/Actions/SendOperationalAlert.php
Other components
- Staff
- Online customer
- Cashier
Connections 30
- Staff → Web and API routing: uses
bootstrap/app.php - Web and API routing → POS and staff UI: serves UI
bootstrap/app.php - Cashier → POS and staff UI: operates
- POS and staff UI → POS order handling: submits orders
app/Modules/Ordering/Http/Controllers/PosController.php - POS order handling → Catalog and pricing: reads catalog
app/Modules/Ordering/Http/Controllers/PosController.php - POS order handling → Order lifecycle: creates orders
app/Modules/Ordering/Http/Controllers/PosController.php - POS order handling → Cashier shifts: checks shift
app/Modules/Ordering/Http/Controllers/PosController.php - Online customer → Web and API routing: calls API
bootstrap/app.php - Web and API routing → Customer checkout: routes requests
bootstrap/app.php - Customer checkout → Catalog and pricing: prices items
app/Modules/Ordering/Http/Controllers/Api/CheckoutController.php - Customer checkout → Order lifecycle: creates order
app/Modules/Ordering/Http/Controllers/Api/CheckoutController.php - Customer checkout → Payments: starts payment
app/Modules/Ordering/Http/Controllers/Api/CheckoutController.php - Payments → DOKU gateway: charges online
- Order lifecycle → Kitchen workflow: status workflow
app/Modules/Kitchen/Http/Controllers/KitchenController.php - Order lifecycle → Inventory ledger: consumes ingredients
- Purchasing → Inventory ledger: records stock
- POS and staff UI → Purchasing: manages purchases
- POS and staff UI → Inventory ledger: manages stock
- POS and staff UI → Cashier shifts: runs shift tasks
- Cashier shifts → Order lifecycle: owns POS orders
app/Modules/Shifts/Models/CashierShift.php - Cashier shifts → Payments: tracks payments
app/Modules/Shifts/Models/CashierShift.php - POS and staff UI → Branches: administers branches
- POS and staff UI → Operational reports: views reports
- POS and staff UI → Audit records: audited actions
- Audit records → Audit log store: writes entries
app/Modules/Identity/Actions/WriteAuditLog.php - Customer checkout → Customer accounts: supports accounts
- Order lifecycle → Delivery orchestration: arranges shipment
- Delivery orchestration → Biteship service: requests shipment
- Order lifecycle → Alerts and push: status notifications
- POS and staff UI → Alerts and push: receives alerts