How damonmaitsu76-cmyk/meat-meat-chada works
Meat Me at Chada is a QR-based restaurant ordering and reservation app with a staff operations console. Customers scan a table QR code to browse dishes, submit refill requests, and track status, or reserve and manage a booking; staff handle the floor, requests, reservations, and menu, while managers also administer tables, imports, reports, accounts, and settings. The graph emphasizes routed product screens and the documented Supabase backend. Several staff modules and database rules were not sampled, so their detailed runtime links are omitted.
Main entry points: StaffLayout.jsx Staff navigation · App.jsx Route application · QRMenu.jsx QR menu and requests · Reserve.jsx Online reservations
Components 23
App entry and access
- Route application
src/App.jsx - Authentication and roles
src/auth - Landing and access pages
src/pages
Guest experience
- QR menu and requests
src/pages/customer/QRMenu.jsx - Online reservations
src/pages/customer/Reserve.jsx
Staff operations
- Floor dashboard
src/pages/staff/Dashboard.jsx - Floor map
src/pages/staff/FloorMap.jsx - Table request queue
src/pages/staff/RequestQueue.jsx - Reservation handling
src/pages/staff/Reservations.jsx - Menu availability
src/pages/staff/MenuManagement.jsx - Staff navigation
src/pages/staff/StaffLayout.jsx
Manager tools
- Tables and QR codes
src/pages/staff/TableManagement.jsx - CSV import
src/pages/staff/ImportData.jsx - Reports and activity
src/pages/staff/Reports.jsx - Staff accounts
src/pages/staff/StaffAccounts.jsx - Restaurant settings
src/pages/staff/Settings.jsx
Shared services
- Supabase client
src/supabaseClient.js - Supabase services
- Staff account function
supabase/functions/manage-staff/index.ts - UI and dialog utilities
src/components - Floor and date helpers
src/lib
Other components
- Guest
- Staff
Connections 26
- Guest → Route application: opens guest pages
src/App.jsx - Staff → Route application: opens staff pages
src/App.jsx - Route application → QR menu and requests: routes to
src/App.jsx - Route application → Online reservations: routes to
src/App.jsx - Route application → Staff navigation: routes to
src/App.jsx - Route application → Authentication and roles: guards routes
src/App.jsx - Route application → Landing and access pages: routes to
src/App.jsx - Staff navigation → Floor dashboard: hosts
src/App.jsx - Staff navigation → Table request queue: hosts
src/App.jsx - Staff navigation → Reservation handling: hosts
src/App.jsx - Staff navigation → Menu availability: hosts
src/App.jsx - Staff navigation → Tables and QR codes: hosts
src/App.jsx - Staff navigation → CSV import: hosts
src/App.jsx - Staff navigation → Reports and activity: hosts
src/App.jsx - Staff navigation → Staff accounts: hosts
src/App.jsx - Staff navigation → Restaurant settings: hosts
src/App.jsx - Floor dashboard → Floor map: renders
src/pages/staff/Dashboard.jsx - Floor dashboard → Floor and date helpers: uses
src/pages/staff/Dashboard.jsx - QR menu and requests → Supabase client: calls RPC
src/pages/customer/QRMenu.jsx - Online reservations → Supabase client: calls RPC
src/pages/customer/Reserve.jsx - Supabase client → Supabase services: connects to
README.md - Staff accounts → Staff account function: account actions
- Staff account function → Supabase services: manages accounts
- QR menu and requests → UI and dialog utilities: uses controls
src/pages/customer/QRMenu.jsx - Online reservations → UI and dialog utilities: uses controls
src/pages/customer/Reserve.jsx - Reservation handling → UI and dialog utilities: uses controls
src/pages/staff/Reservations.jsx