How goat82447-ops/enterprise-lunchbox-lms-prod works
This repository combines a RouteX mobility and delivery frontend with backend services, including a .NET parcel-booking API and a JavaScript microservices stack. The main user journey is routed through the Angular app: sign in, create or manage a ride/booking, then follow its status and complete payment or handoff. Separate feature areas cover captain operations, administration, food ordering, and app-wide language and notifications. The excerpts establish frontend-to-HTTP calls and .NET endpoint-to-database calls; they do not establish how the gateway routes requests to individual services, so those links are omitted or marked unverified.
Main entry points: booking.service.ts Booking client · app.routes.ts Route registry · auth.service.ts Auth client · app.ts App shell
Components 28
Angular app
- Route registry
Frontend/lunchbox-app/src/app/app.routes.ts - App shell
Frontend/lunchbox-app/src/app/app.ts - Delivery models
Frontend/lunchbox-app/src/app/core/models/delivery.models.ts - API settings
Frontend/lunchbox-app/src/environments/environment.ts - Authentication UI
Frontend/lunchbox-app/src/app/features/login/login.component.ts
Ride workflow
- Auth client
Frontend/lunchbox-app/src/app/core/services/auth.service.ts - Booking UI
Frontend/lunchbox-app/src/app/features/booking/booking.component.ts - Booking client
Frontend/lunchbox-app/src/app/core/services/booking.service.ts - Travel booking
Frontend/lunchbox-app/src/app/features/travel/travel.component.ts - Live ride
Frontend/lunchbox-app/src/app/features/ride-live/ride-live.component.ts - Tracking UI
Frontend/lunchbox-app/src/app/features/tracking/tracking.component.ts - Payment UI
Frontend/lunchbox-app/src/app/features/payment/payment.component.ts
Platform operations
- Account management
Frontend/lunchbox-app/src/app/features/account/account.component.ts - Captain profile
Frontend/lunchbox-app/src/app/features/captain-profile/captain-profile.component.ts - Admin console
Frontend/lunchbox-app/src/app/features/admin/admin.component.ts - Notifications
Frontend/lunchbox-app/src/app/core/services/notification.service.ts - Language settings
Frontend/lunchbox-app/src/app/core/services/language.service.ts - Food ordering
Frontend/lunchbox-app/src/app/features/food/food-cart.component.ts
Backend services
- API gateway
Backend/microservices/services/api-gateway/src/index.js - Auth service
Backend/microservices/services/auth-service/src/index.js - Auth data models
Backend/microservices/services/auth-service/src/models.js - Order service
Backend/microservices/services/order-service/src/index.js - Parcel API
Backend/dotnet/ParcelService/Program.cs - Parcel database access
Backend/dotnet/ParcelService/Data/ParcelDbContext.cs - Parcel booking entity
Backend/dotnet/ParcelService/Models/ParcelBooking.cs - Auth API
Backend/dotnet/AuthService/Program.cs - Auth database access
Backend/dotnet/AuthService/Data/AuthDbContext.cs
Other components
- App user
Connections 27
- App user → Route registry: opens routes
Frontend/lunchbox-app/src/app/app.routes.ts - Route registry → Authentication UI: routes to
Frontend/lunchbox-app/src/app/app.routes.ts - Route registry → Booking UI: routes to
Frontend/lunchbox-app/src/app/app.routes.ts - Route registry → Travel booking: routes to
Frontend/lunchbox-app/src/app/app.routes.ts - Route registry → Live ride: routes to
Frontend/lunchbox-app/src/app/app.routes.ts - Route registry → Tracking UI: routes to
Frontend/lunchbox-app/src/app/app.routes.ts - Route registry → Payment UI: routes to
Frontend/lunchbox-app/src/app/app.routes.ts - App shell → Auth client: observes session
Frontend/lunchbox-app/src/app/app.ts - App shell → Notifications: observes alerts
Frontend/lunchbox-app/src/app/app.ts - App shell → Language settings: observes language
Frontend/lunchbox-app/src/app/app.ts - Authentication UI → Auth client: submits credentials
- Auth client → API settings: reads API base
Frontend/lunchbox-app/src/app/core/services/auth.service.ts - Auth client → Delivery models: uses types
Frontend/lunchbox-app/src/app/core/services/auth.service.ts - Booking UI → Booking client: uses booking API
Frontend/lunchbox-app/src/app/features/booking/booking.component.ts - Booking client → Delivery models: uses types
Frontend/lunchbox-app/src/app/core/services/booking.service.ts - Booking client → Auth client: reads session
Frontend/lunchbox-app/src/app/core/services/booking.service.ts - Booking client → Notifications: pushes updates
Frontend/lunchbox-app/src/app/core/services/booking.service.ts - Booking client → API settings: reads API base
Frontend/lunchbox-app/src/app/core/services/booking.service.ts - Payment UI → Booking client: updates payment
- Tracking UI → Booking client: reads tracking
Frontend/lunchbox-app/src/app/features/tracking/tracking.component.ts - API gateway → Auth service: dispatches requests
- API gateway → Order service: dispatches requests
- Auth service → Auth data models: uses models
Backend/microservices/services/auth-service/src/index.js - Booking client → API gateway: sends HTTP requests
- Parcel API → Parcel database access: reads and writes
Backend/dotnet/ParcelService/Program.cs - Parcel database access → Parcel booking entity: stores entities
Backend/dotnet/ParcelService/Data/ParcelDbContext.cs - Auth API → Auth database access: reads and writes
Backend/dotnet/AuthService/Program.cs