How moodeus/gabs works
BakeShopOz is a role-based bakeshop operations web application. A user signs in, then accesses routed and role-gated workflows for orders, inventory, accounts, dashboards, reports, receipts, audits, and settings. Controllers coordinate models and return application responses; authentication refreshes role data from accounts on protected requests. The README provides no further capability detail. Relationships are limited to routes, calls, and view rendering supported by the excerpts or SOURCE INDEX; unsampled subsystems are represented without speculative internal links.
Main entry points: Routes.php Routes and gates · Dashboard.php Dashboard · AccountModel.php Account records · Auth.php Sign-in
Components 22
Request and access
- Routes and gates
app/Config/Routes.php - Sign-in
app/Controllers/Auth.php - Session authorization
app/Filters/AuthFilter.php - Controller base
app/Controllers/BaseController.php - Permission panel
app/Libraries/Support/Internal/Access/PermissionsPanel.php - Runtime configuration
app/Config - Legacy access helpers
legacy/includes/auth_helpers.php
Shop operations
- Account management
app/Controllers/Accounts.php - Order handling
app/Controllers/Orders.php - Delivery receipts
app/Controllers/DeliveryReceipts.php - Ingredient inventory
app/Controllers/IngredientInventory.php - Product inventory
app/Controllers/ProductInventory.php - Settings
app/Controllers/Settings.php
Reporting and oversight
- Dashboard
app/Controllers/Dashboard.php - Sales reporting
app/Controllers/SalesReport.php - Inventory audits
app/Controllers/IngredientAudit.php - Product audits
app/Controllers/ProductAudit.php - Account reports
app/Controllers/AccountReports.php
Application data
- Account records
app/Models/AccountModel.php - Order records
app/Models/OrderModel.php - Dashboard data
app/Models/DashboardModel.php
Other components
- Shop user
Connections 21
- Shop user → Routes and gates: requests pages
app/Config/Routes.php - Routes and gates → Sign-in: routes sign-in
app/Config/Routes.php - Routes and gates → Dashboard: routes dashboard
app/Config/Routes.php - Routes and gates → Order handling: routes orders
app/Config/Routes.php - Routes and gates → Delivery receipts: routes receipts
app/Config/Routes.php - Routes and gates → Account management: routes accounts
app/Config/Routes.php - Routes and gates → Ingredient inventory: routes inventory
app/Config/Routes.php - Routes and gates → Product inventory: routes inventory
app/Config/Routes.php - Routes and gates → Sales reporting: routes reports
app/Config/Routes.php - Routes and gates → Inventory audits: routes audits
app/Config/Routes.php - Routes and gates → Product audits: routes audits
app/Config/Routes.php - Routes and gates → Settings: routes settings
app/Config/Routes.php - Routes and gates → Account reports: routes reports
app/Config/Routes.php - Routes and gates → Permission panel: registers routes
app/Config/Routes.php - Sign-in → Account records: checks credentials
app/Controllers/Auth.php - Session authorization → Account records: refreshes role
app/Filters/AuthFilter.php - Account management → Account records: manages records
app/Controllers/Accounts.php - Settings → Account records: accesses account
app/Controllers/Settings.php - Order handling → Order records: handles orders
app/Controllers/Orders.php - Dashboard → Dashboard data: loads dashboard data
app/Controllers/Dashboard.php - Dashboard → Dashboard: renders dashboard view
app/Controllers/Dashboard.php