How sweezalsuares/quickcrave works
QuickCrave is a campus dining pre-order and pickup platform. Students and faculty browse vendor menus, reserve a pickup slot, and track orders through QR pickup; vendors manage preparation and admins manage campus operations. The graph follows the React portals through the shared API client to the Express service and persistence layer. README capabilities include group ordering, economy pricing, analytics, and operations tools; unsampled implementation details are grouped by their documented portal or server subsystem.
Main entry points: App.js App shell · api.js API and socket client · StudentPortal.js Student ordering · VendorPortal.js Vendor kitchen
Components 18
Web experience
- App shell
src/App.js - Landing experience
src/components/LandingPage.js - Authentication
src/components/AuthView.js - Student ordering
src/components/StudentPortal.js - Vendor kitchen
src/components/VendorPortal.js - Campus operations
src/components/AdminPortal.js - AI assistant UI
src/components/AiAssistant.js - Reload splash
src/components/QuickCraveLogo.js - API and socket client
src/lib/api.js - Meal analytics
src/lib/analytics.js - Audio feedback
src/lib/sound.js
Campus services
- REST and realtime service
server.js
Persistence
- Database access
server/db.js - Domain schemas
server/models/index.js
Intelligence
- Forecasting and AI
server/ml.js
Other components
- Campus user
- MongoDB
- Google Gemini
Connections 25
- Campus user → App shell: uses
README.md - App shell → Landing experience: renders
src/App.js - App shell → Authentication: renders
src/App.js - App shell → Student ordering: routes to
src/App.js - App shell → Vendor kitchen: routes to
src/App.js - App shell → Campus operations: routes to
src/App.js - App shell → AI assistant UI: renders
src/App.js - App shell → Reload splash: renders
src/App.js - App shell → API and socket client: calls
src/App.js - App shell → Audio feedback: plays
src/App.js - Landing experience → Audio feedback: plays
README.md - Authentication → API and socket client: requests
src/components/AuthView.js - Student ordering → API and socket client: requests
src/components/StudentPortal.js - Vendor kitchen → API and socket client: requests
src/components/VendorPortal.js - Campus operations → API and socket client: requests
src/components/AdminPortal.js - Student ordering → Meal analytics: aggregates
src/components/StudentPortal.js - Vendor kitchen → Meal analytics: aggregates
src/components/VendorPortal.js - Campus operations → Meal analytics: aggregates
src/components/AdminPortal.js - AI assistant UI → API and socket client: requests
src/components/AiAssistant.js - API and socket client → REST and realtime service: sends HTTP and socket events
README.md - REST and realtime service → Database access: loads and saves
server.js - REST and realtime service → Forecasting and AI: calls forecasts
server.js - Database access → Domain schemas: uses schemas
server/db.js - Database access → MongoDB: persists data
README.md - Forecasting and AI → Google Gemini: generates responses
server/ml.js