How bryancheng33-oss/skibidigofood works
Skibidi GoFood is a campus food-ordering web app for MMU students and staff. Its principal workflow is browsing the menu, adding items to a cart, completing checkout, and tracking orders; accounts, wallet, points, rewards, and an AI help assistant are additional capabilities. The graph includes sampled UI-to-state calls and documented product stages. Many page modules were not shown in source excerpts, so their internal calls and some integrations are intentionally left unconnected.
Main entry points: sgf-ai.js AI proxy · state.js Application state · menu-inline.js Menu browsing · orders_inline.js Order history
Components 22
Ordering
- Menu browsing
js/pages/menu-inline.js - Product catalog
js/products.js - Cart
js/cart.js - Checkout
js/pages/checkout-inline.js - Order history
orders_inline.js - Order administration
js/admin.js
Accounts
- Registration & login
js/auth.js - Profile
js/pages/profile-inline.js - Dashboard
js/pages/dashboard-inline.js
Rewards & Wallet
- Rewards & spins
js/pages/rewards-inline.js - Rewards rules
js/rewards.js - Wallet
js/wallet.js
State & Backend
- Application state
js/state.js - Menu and app data
js/data.js - Supabase synchronization
js/supabase-sync.js
AI Assistant
- AI chat interface
js/student-ai-chat.js - AI chat page handler
api/student-ai-chat.js - AI proxy
api/sgf-ai.js - Netlify AI proxy
netlify/functions/sgf-ai.js
Other components
- Student or staff
- Groq API
- Supabase
Connections 15
- Student or staff → Registration & login: registers or signs in
- Student or staff → Menu browsing: browses food
- Student or staff → Checkout: places order
- Student or staff → Order history: tracks orders
- Student or staff → Profile: manages account
- Student or staff → Rewards & spins: redeems points
- Menu browsing → Application state: adds items
js/pages/menu-inline.js - Order history → Application state: updates cart and reviews
orders_inline.js - Rewards & spins → Application state: updates points
js/pages/rewards-inline.js - Cart → Checkout: continues to checkout
- AI chat interface → AI proxy: requests assistance
- AI chat page handler → AI proxy: requests assistance
- AI proxy → Groq API: sends chat request
api/sgf-ai.js - Netlify AI proxy → Groq API: sends chat request
netlify/functions/sgf-ai.js - Supabase synchronization → Supabase: synchronizes data