How naresh2060/momo-website works
Momo Website is a React restaurant storefront for exploring the menu and restaurant information, with dish customization and sign-in UI. The main visible flow is visitor navigation through the app shell to menu browsing, then opening a dish detail modal; home and location views provide restaurant information. About, cart, and reservation components are present as separate product areas, but the excerpts do not show them wired into the app router. No backend or API calls are evidenced; the API URL in configuration alone does not establish an integration.
Main entry points: App.jsx App router · appConfig.js Restaurant settings · HomeTab.jsx Home and contact · MenuTab.jsx Menu browsing
Components 14
App shell
- App router
src/App.jsx - Header navigation
src/components/Header.jsx - Bottom navigation
src/components/BottomNav.jsx
Restaurant browsing
- Home and contact
src/components/HomeTab.jsx - Menu browsing
src/components/MenuTab.jsx - Location details
src/components/LocationTab.jsx - About view
src/components/AboutTab.jsx - Footer links
src/components/Footer.jsx
Customer interactions
- Dish customization
src/components/DishDetailModal.jsx - Sign-in and signup
src/components/AuthModal.jsx - Cart view
src/components/CartTab.jsx - Reservation view
src/components/ReserveTab.jsx
Shared configuration
- Restaurant settings
src/config/appConfig.js
Other components
- Visitor
Connections 16
- Visitor → App router: opens
- App router → Header navigation: renders
src/App.jsx - App router → Bottom navigation: renders
src/App.jsx - App router → Home and contact: routes to
src/App.jsx - App router → Menu browsing: routes to
src/App.jsx - App router → Location details: routes to
src/App.jsx - App router → Dish customization: renders
src/App.jsx - App router → Sign-in and signup: renders
src/App.jsx - App router → Restaurant settings: reads
src/App.jsx - Header navigation → Restaurant settings: reads
src/components/Header.jsx - Home and contact → Restaurant settings: reads
src/components/HomeTab.jsx - Location details → Restaurant settings: reads
src/components/LocationTab.jsx - Home and contact → Footer links: renders
src/components/HomeTab.jsx - Menu browsing → Footer links: renders
src/components/MenuTab.jsx - Location details → Footer links: renders
src/components/LocationTab.jsx - Menu browsing → Dish customization: selects dish
src/App.jsx