How sebharvey/airline-reservation-system works
Apex Air is a standards-oriented airline retailing system: passengers search flights, select an offer and ancillaries, pay, and manage a resulting order; check-in and loyalty are additional journeys. The Angular web and terminal clients sit in front of retail and operations orchestration and domain microservices. The graph preserves the documented booking, ancillary, payment, order, check-in, and loyalty capabilities. Some links are dashed because their implementation was not sampled; they indicate documented or unverified integration rather than inspected calls.
Main entry points: app/app.routes.ts Customer website · booking-state.service.ts Booking and basket · Order.cs Order records · app/app.routes.ts Agent terminal
Components 18
User channels
- Customer website
src/Web/src/app/app.routes.ts - Retail API client
src/Web/src/app/services/retail-api.service.ts - Agent terminal
src/Terminal/src/app/app.routes.ts - Agent authentication
src/Terminal/src/app/services/auth.service.ts
Retail journey
- Flight search
src/API/Orchestration/ReservationSystem.Orchestration.Retail/Application/SearchFlights/SearchFlightsHandler.cs - Booking and basket
src/Web/src/app/services/booking-state.service.ts - Order retrieval
src/API/Orchestration/ReservationSystem.Orchestration.Retail/Application/NdcOrderRetrieve/NdcOrderRetrieveHandler.cs
Domain services
- Offer search
src/API/Microservices/ReservationSystem.Microservices.Offer/Application/SearchOffers/SearchOffersHandler.cs - Seats, bags, products
src/API/Microservices/ReservationSystem.Microservices.Ancillary - Payment authorization
src/API/Microservices/ReservationSystem.Microservices.Payment/Application/AuthorisePayment/AuthorisePaymentHandler.cs - Order records
src/API/Microservices/ReservationSystem.Microservices.Order/Domain/Entities/Order.cs - Order repository
src/API/Microservices/ReservationSystem.Microservices.Order/Domain/Repositories/IOrderRepository.cs - Customer and loyalty
src/API/Microservices/ReservationSystem.Microservices.Customer/Application/AuthorisePoints/AuthorisePointsHandler.cs
Operations and loyalty
- Check-in and boarding
src/API/Orchestration/ReservationSystem.Orchestration.Operations - Loyalty orchestration
src/API/Orchestration/ReservationSystem.Orchestration.Loyalty - Flight operations
src/Terminal/src/app/pages/flight-management/flight-management-detail/flight-management-detail.ts
Other components
- Passenger
- Airline agent
Connections 19
- Passenger → Customer website: uses
README.md - Customer website → Retail API client: requests retail
src/Web/src/app/services/retail-api.service.ts - Retail API client → Flight search: searches flights
- Flight search → Offer search: searches offers
src/API/Orchestration/ReservationSystem.Orchestration.Retail/Application/SearchFlights/SearchFlightsHandler.cs - Customer website → Booking and basket: selects itinerary
- Booking and basket → Seats, bags, products: adds ancillaries
README.md - Booking and basket → Payment authorization: authorizes payment
README.md - Booking and basket → Order records: confirms booking
README.md - Order records → Order repository: persists via
src/API/Microservices/ReservationSystem.Microservices.Order/Domain/Repositories/IOrderRepository.cs - Customer website → Order retrieval: manages booking
README.md - Order retrieval → Order records: retrieves order
src/API/Orchestration/ReservationSystem.Orchestration.Retail/Application/NdcOrderRetrieve/NdcOrderRetrieveHandler.cs - Order retrieval → Order repository: reads via handler
- Passenger → Check-in and boarding: checks in
README.md - Airline agent → Agent terminal: uses
README.md - Agent terminal → Agent authentication: authenticates
src/Terminal/src/app/app.routes.ts - Agent terminal → Flight operations: manages flights
src/Terminal/src/app/app.routes.ts - Customer website → Loyalty orchestration: accesses loyalty
README.md - Loyalty orchestration → Customer and loyalty: authorizes points
- Customer and loyalty → Order records: tracks customer orders
README.md