How theusinhoiost/foodrush-web works
FoodRush Web is an Angular delivery-platform frontend. Customers discover restaurants, browse menus, build a persistent cart, place orders, pay, and track progress; restaurant and courier users operate the KDS, while administrators manage users. The graph preserves the documented geocoding, delivery-estimate, restaurant-management, and payment-account capabilities. Edges reflect shown calls, route declarations, or README descriptions; unsampled feature wiring is omitted where it cannot be verified.
Main entry points: app.routes.ts App routes · address.service.ts Address geocoding · auth.service.ts Authentication · restaurant-detail.component.ts Restaurant detail
Components 24
Application experience
- App routes
src/app/app.routes.ts - Navigation bar
src/app/layout/navbar/navbar.component.ts
Restaurant and ordering
- Restaurant catalog
src/app/features/restaurants/restaurant-list/restaurant-list.component.ts - Restaurant detail
src/app/features/restaurants/restaurant-detail/restaurant-detail.component.ts - Orders and KDS
src/app/features/orders/order-list/order-list.component.ts - Order tracking
src/app/features/orders/order-detail/order-detail.component.ts
Identity and operations
- Client signup
src/app/features/auth/register-client/register-client.component.ts - Restaurant signup
src/app/features/restaurants/register-restaurant/register-restaurant.component.ts - Profile management
src/app/features/profile/profile.component.ts - Admin dashboard
src/app/features/admin/admin-dashboard/admin-dashboard.component.ts
Platform services
- Authentication
src/app/core/services/auth.service.ts - Address geocoding
src/app/core/services/address.service.ts - Restaurant service
src/app/core/services/restaurant.service.ts - Menu service
src/app/core/services/menu.service.ts - Cart state
src/app/core/services/cart.service.ts - Order service
src/app/core/services/order.service.ts - Payments
src/app/core/services/payment.service.ts - User service
src/app/core/services/user.service.ts - Admin service
src/app/core/services/admin.service.ts - JWT interceptor
src/app/core/interceptors/auth.interceptor.ts
Other components
- Platform users
- FoodRush REST API
- OpenCage geocoder
- Mercado Pago
Connections 45
- Platform users → App routes: navigates
src/app/app.routes.ts - App routes → Restaurant catalog: routes to
src/app/app.routes.ts - App routes → Restaurant detail: routes to
src/app/app.routes.ts - App routes → Orders and KDS: routes to
src/app/app.routes.ts - App routes → Order tracking: routes to
src/app/app.routes.ts - App routes → Profile management: routes to
src/app/app.routes.ts - App routes → Client signup: routes to
src/app/app.routes.ts - App routes → Restaurant signup: routes to
src/app/app.routes.ts - App routes → Admin dashboard: routes to
src/app/app.routes.ts - Restaurant catalog → Restaurant service: queries
src/app/features/restaurants/restaurant-list/restaurant-list.component.ts - Restaurant catalog → Address geocoding: resolves location
src/app/features/restaurants/restaurant-list/restaurant-list.component.ts - Restaurant detail → Restaurant service: loads restaurant
src/app/features/restaurants/restaurant-detail/restaurant-detail.component.ts - Restaurant detail → Address geocoding: estimates delivery
src/app/features/restaurants/restaurant-detail/restaurant-detail.component.ts - Restaurant detail → Menu service: loads menu
src/app/features/restaurants/restaurant-detail/restaurant-detail.component.ts - Restaurant detail → Cart state: updates cart
src/app/features/restaurants/restaurant-detail/restaurant-detail.component.ts - Restaurant detail → Order service: creates orders
src/app/features/restaurants/restaurant-detail/restaurant-detail.component.ts - Orders and KDS → Order service: loads orders
src/app/features/orders/order-list/order-list.component.ts - Orders and KDS → Restaurant service: loads restaurants
src/app/features/orders/order-list/order-list.component.ts - Orders and KDS → Authentication: checks identity
src/app/features/orders/order-list/order-list.component.ts - Order tracking → Order service: loads order
src/app/features/orders/order-detail/order-detail.component.ts - Order tracking → Payments: handles payment
src/app/features/orders/order-detail/order-detail.component.ts - Client signup → Authentication: registers user
src/app/features/auth/register-client/register-client.component.ts - Client signup → Address geocoding: previews address
src/app/features/auth/register-client/register-client.component.ts - Restaurant signup → Authentication: checks identity
src/app/features/restaurants/register-restaurant/register-restaurant.component.ts - Restaurant signup → Restaurant service: creates restaurant
src/app/features/restaurants/register-restaurant/register-restaurant.component.ts - Restaurant signup → Address geocoding: resolves address
src/app/features/restaurants/register-restaurant/register-restaurant.component.ts - Profile management → Authentication: reads identity
src/app/features/profile/profile.component.ts - Profile management → User service: manages profile
src/app/features/profile/profile.component.ts - Profile management → Address geocoding: manages addresses
src/app/features/profile/profile.component.ts - Profile management → Restaurant service: manages restaurant
src/app/features/profile/profile.component.ts - Profile management → Payments: connects payments
src/app/features/profile/profile.component.ts - Admin dashboard → Admin service: manages users
src/app/features/admin/admin-dashboard/admin-dashboard.component.ts - Navigation bar → Authentication: reads session
src/app/layout/navbar/navbar.component.ts - Navigation bar → Cart state: reads cart
src/app/layout/navbar/navbar.component.ts - Authentication → FoodRush REST API: auth requests
src/app/core/services/auth.service.ts - Address geocoding → FoodRush REST API: address requests
src/app/core/services/address.service.ts - Restaurant service → FoodRush REST API: restaurant requests
src/app/core/services/restaurant.service.ts - Menu service → FoodRush REST API: menu requests
src/app/core/services/menu.service.ts - Order service → FoodRush REST API: order requests
src/app/core/services/order.service.ts - Payments → FoodRush REST API: payment requests
src/app/core/services/payment.service.ts - User service → FoodRush REST API: user requests
src/app/core/services/user.service.ts - Admin service → FoodRush REST API: admin requests
- JWT interceptor → Authentication: reads token
src/app/core/interceptors/auth.interceptor.ts - Address geocoding → OpenCage geocoder: geocodes via API
README.md - Payments → Mercado Pago: payment integration
README.md