How renukaprasadbs454/foodie-frontend works
Foodie Frontend is a workspace of customer, restaurant, delivery, and admin applications, with shared React Native and web utilities. The customer journey centers on browsing restaurants and menus, building a cart, checking out, and tracking orders; the delivery and restaurant apps support fulfillment, while admin provides operational oversight. Source excerpts show app composition and selected shared/runtime links; many feature implementations were not sampled, so their internal connections are not inferred.
Main entry points: app Admin console · core/App.tsx Delivery app · app/App.tsx Restaurant app · core/App.tsx Foodie customer
Components 32
Customer app
- Foodie customer
apps/customer/src/core/App.tsx - Customer navigation
apps/customer/src/navigation/RootNavigator.tsx - Restaurant discovery
apps/customer/src/features/restaurants - Menus and cart
apps/customer/src/features/menu - Checkout and payment
apps/customer/src/features/checkout - Orders and tracking
apps/customer/src/features/orders - Customer sign-in
apps/customer/src/features/auth - Customer API
apps/customer/src/api/baseApi.ts
Restaurant app
- Restaurant app
apps/restaurant/src/app/App.tsx - Restaurant orders
apps/restaurant/src/features/orders - Restaurant profile
apps/restaurant/src/features/profile - Restaurant reviews
apps/restaurant/src/features/reviews - Restaurant web UI
apps/restaurant/frontend/src/App.js
Delivery app
- Delivery app
apps/delivery/src/core/App.tsx - Offers and assignments
apps/delivery/src/features/home - Courier verification
apps/delivery/src/features/kyc - Delivery navigation
apps/delivery/src/features/navigation - Courier wallet
apps/delivery/src/features/wallet - Delivery API
apps/delivery/src/api/endpoints/deliveryApi.ts
Admin app
- Admin console
apps/admin/app - Order operations
apps/admin/features/orders - Restaurant oversight
apps/admin/features/restaurants - Analytics
apps/admin/features/analytics - Darkstore operations
apps/admin/features/darkstore - Finance and payouts
apps/admin/features/delivery-payouts - Admin authentication
apps/admin/app/api/auth/login/route.ts
Shared libraries
- Shared mobile utilities
packages/shared-rn/src - Shared web utilities
packages/shared-web/src
Other components
- Customer
- Restaurant staff
- Courier
- Administrator
Connections 30
- Customer → Foodie customer: uses
README.md - Foodie customer → Customer navigation: renders
apps/customer/src/core/App.tsx - Customer navigation → Customer sign-in: routes to
apps/customer/src/navigation/RootNavigator.tsx - Customer navigation → Restaurant discovery: routes to
apps/customer/src/navigation/RootNavigator.tsx - Orders and tracking → Customer API: uses
apps/customer/src/api/endpoints/ordersApi.ts - Customer API → Checkout and payment: uses types
apps/customer/src/api/endpoints/ordersApi.ts - Customer → Restaurant discovery: browses
- Restaurant discovery → Menus and cart: opens
- Menus and cart → Checkout and payment: continues to
- Checkout and payment → Orders and tracking: creates order
- Restaurant staff → Restaurant app: uses
README.md - Restaurant app → Restaurant orders: supports
- Restaurant app → Restaurant profile: supports
- Restaurant app → Restaurant reviews: supports
- Courier → Delivery app: uses
README.md - Delivery app → Offers and assignments: routes to
- Delivery app → Courier verification: routes to
- Delivery app → Delivery navigation: routes to
- Delivery app → Courier wallet: routes to
- Delivery navigation → Delivery API: sends location
apps/delivery/src/features/navigation/hooks/useLocationPingLoop.ts - Administrator → Admin console: uses
README.md - Admin console → Admin authentication: provides login
- Admin console → Order operations: supports
- Admin console → Restaurant oversight: supports
- Admin console → Analytics: supports
- Admin console → Darkstore operations: supports
- Admin console → Finance and payouts: supports
- Foodie customer → Shared mobile utilities: uses utilities
apps/customer/src/core/App.tsx - Delivery app → Shared mobile utilities: uses utilities
apps/delivery/src/core/App.tsx - Restaurant app → Shared mobile utilities: uses utilities
apps/restaurant/src/app/App.tsx