How ritheesh024-hub/savora works
Savora is a mobile-first restaurant ordering and operations platform. Its principal customer workflow is discovering menu items, customizing a cart, placing an order, and tracking it while staff prepare it. The README also documents QR ordering, payments, kitchen operations, analytics, favorites, order history, and AI support. The graph includes those documented capabilities; some implementation details and connections are not verifiable from the sampled source, so README-supported links are cited as such.
Main entry points: checkout/page.tsx Checkout · dashboard/page.tsx Admin Dashboard · app/page.tsx Storefront · menu/page.tsx Menu Browser
Components 21
Customer Ordering
- Storefront
src/app/page.tsx - Menu Browser
src/app/menu/page.tsx - Product Options
src/components/FoodCard.tsx - Cart State
src/app/lib/store.ts - Checkout
src/app/checkout/page.tsx - Order History
src/app/orders/page.tsx - Order Tracking
src/app/orders/[orderId]/page.tsx - Favorites
src/app/favorites/page.tsx - QR Ordering
src/app/scan/page.tsx - Customer Support
src/app/support/page.tsx
Restaurant Operations
- Kitchen Management
src/components/KitchenSystem.tsx - Admin Dashboard
src/app/admin/dashboard/page.tsx
Platform Services
- Authentication
src/components/AuthModal.tsx - Firebase Services
src/firebase/index.ts - Firestore
AI and Insights
- Analytics
src/hooks/use-analytics.ts - Support AI
src/ai/flows/support-ai-flow.ts - Meal Recommendations
src/ai/flows/contextual-meal-recommendations-flow.ts - Review Summaries
src/ai/flows/review-summary-generator.ts
Other components
- Customer
- UPI / Cash
Connections 19
- Customer → Storefront: discovers
- Storefront → Menu Browser: browses
- Menu Browser → Product Options: customizes
src/app/menu/page.tsx - Product Options → Cart State: adds items
src/components/FoodCard.tsx - Cart State → Checkout: checks out
src/app/checkout/page.tsx - Checkout → UPI / Cash: pays with
- Checkout → Order History: places order
- Order History → Order Tracking: opens tracking
- Order Tracking → Kitchen Management: tracks preparation
- Customer → QR Ordering: starts QR order
- Customer → Favorites: manages favorites
- Checkout → Authentication: authenticates
src/app/checkout/page.tsx - Checkout → Firebase Services: uses services
src/app/checkout/page.tsx - Firebase Services → Firestore: accesses data
src/firebase/index.ts - Admin Dashboard → Kitchen Management: coordinates orders
- Admin Dashboard → Analytics: views insights
- Customer Support → Support AI: requests assistance
src/app/support/page.tsx - Storefront → Meal Recommendations: offers suggestions
- Admin Dashboard → Review Summaries: summarizes feedback