How malaktk5/cyberv-menuapp works
CyberV-MenuApp is a restaurant ordering and operations system. Customers browse the menu, place an order for dine-in, pickup, or delivery, and track its status; staff manage preparation, service, checkout, and delivery, while managers administer the menu, employees, and business statistics. The graph retains the documented operational branches, including QR tables and real-time updates. Edges reflect explicit router registration, excerpted database calls, or README-documented behavior; several router implementations and frontend API bindings were not sampled, so their internal connections are omitted.
Main entry points: main.py FastAPI application · db.py Database access · auth.py Authentication · home.js Menu browsing
Components 28
Customer experience
- Menu browsing
frontend/assets/js/public/home.js - Cart and checkout
frontend/assets/js/public/checkout.js - Order tracking UI
frontend/assets/js/public/tracking.js
Restaurant operations
- Staff screens
frontend/assets/js/staff - Admin screens
frontend/assets/js/admin
Application backend
- FastAPI application
app/main.py - Public menu
app/routers/public.py - Customer orders
app/routers/commandes.py - Order tracking
app/routers/suivi.py - QR tables
app/routers/qr.py - Menu and management
app/routers/admin.py - Authentication
app/routers/auth.py - Session security
app/security.py - Kitchen workflow
app/routers/cuisine.py - Dining room
app/routers/salle.py - Cashier
app/routers/caisse.py - Delivery assignment
app/routers/dispatch.py - Delivery workflow
app/routers/livraison.py - Order status rules
app/order_status.py - WebSocket broadcast
app/routers/ws.py - Startup seeding
app/seed.py - Application settings
app/config.py
Data and realtime
- Database access
app/db.py - PostgreSQL
db/init.sql - Redis Pub/Sub
Other components
- Customer
- Restaurant staff
- Manager
Connections 33
- Customer → Menu browsing: browses
README.md - Customer → Cart and checkout: places order
README.md - Customer → Order tracking UI: tracks order
README.md - Restaurant staff → Staff screens: uses
README.md - Manager → Admin screens: manages
README.md - Menu browsing → FastAPI application: uses site
- Cart and checkout → FastAPI application: uses site
- Order tracking UI → FastAPI application: uses site
- Staff screens → FastAPI application: uses site
- Admin screens → FastAPI application: uses site
- FastAPI application → Public menu: registers
app/main.py - FastAPI application → Customer orders: registers
app/main.py - FastAPI application → Order tracking: registers
app/main.py - FastAPI application → QR tables: registers
app/main.py - FastAPI application → Menu and management: registers
app/main.py - FastAPI application → Authentication: registers
app/main.py - FastAPI application → Kitchen workflow: registers
app/main.py - FastAPI application → Dining room: registers
app/main.py - FastAPI application → Cashier: registers
app/main.py - FastAPI application → Delivery assignment: registers
app/main.py - FastAPI application → Delivery workflow: registers
app/main.py - FastAPI application → WebSocket broadcast: registers
app/main.py - FastAPI application → Startup seeding: bootstraps
app/main.py - Customer orders → Database access: reads and writes
app/routers/commandes.py - Public menu → Database access: reads
app/routers/public.py - Menu and management → Database access: reads and writes
app/routers/admin.py - Authentication → Database access: reads
app/routers/auth.py - Session security → Database access: reads
app/security.py - Startup seeding → Database access: seeds data
app/seed.py - Database access → PostgreSQL: connects
- Authentication → Session security: validates credentials
app/routers/auth.py - FastAPI application → Application settings: uses settings
app/main.py - WebSocket broadcast → Redis Pub/Sub: publishes and subscribes
app/routers/ws.py