How bin20599/uongbigo-vercel works
Uong Bi GO is a Vietnamese food-ordering application with browser-based buyer, staff, and admin screens, a Python API, and Supabase Postgres. The intended buyer journey is browsing the menu, managing a cart, placing an order, and paying; staff handle kitchen status and admins manage menu items and view statistics. The sampled frontend helper and backend excerpt show different API modes, so frontend-to-endpoint wiring is not asserted here; the README documents the deployed Vercel/Supabase architecture.
Main entry points: index.py API router · supabase.sql Supabase Postgres · api.js API client · menu.html Menu screen
Components 18
Browser screens
- Menu screen
menu.html - Cart screen
cart.html - Order history
orders.html - Kitchen screen
kds.html - Admin dashboard
admin/dashboard.html - Menu management
admin/menu-management.html - Admin orders
admin/orders.html - Cart state
js/cart.js - API client
js/api.js
API domains
- API router
api/index.py - Authentication
api/index.py - Menu operations
api/index.py - Order operations
api/index.py - QR payment
api/index.py - Kitchen updates
api/index.py - Admin operations
api/index.py
Persistence
- Supabase Postgres
supabase.sql
Other components
- Buyer
Connections 15
- Buyer → Menu screen: browses
README.md - Buyer → Cart screen: orders through
README.md - API client → API router: requests API
- API router → Authentication: dispatches
api/index.py - API router → Menu operations: dispatches
api/index.py - API router → Order operations: dispatches
api/index.py - API router → QR payment: dispatches
api/index.py - API router → Kitchen updates: dispatches
api/index.py - API router → Admin operations: dispatches
api/index.py - Authentication → Supabase Postgres: reads users
api/index.py - Menu operations → Supabase Postgres: reads menu
api/index.py - Order operations → Supabase Postgres: reads/writes orders
api/index.py - QR payment → Supabase Postgres: updates orders
api/index.py - Kitchen updates → Supabase Postgres: updates menu
api/index.py - Admin operations → Supabase Postgres: reads/writes data
api/index.py