The Flight Services Backend is a modular, service-oriented backend application developed to manage and expose structured flight-related data within an airline reservation ecosystem. It is designed to serve as the authoritative source of truth for all flight operations, including management of flights, airlines, and airports. This service plays a critical role in supporting dependent systems such as booking engines
This service is designed to be modular, scalable, and easily integrable with other services like the Flight Booking Services Backend, allowing a decoupled and maintainable architecture.
- Node.js: Core runtime environment
- Express.js: Lightweight routing and middleware framework
- Sequelize: ORM for interacting with MySQL database
- MySQL: Relational database to persist flight, airport, and airline data
- Express Router: Modular route handling
- MVC Pattern: Cleanly separates business logic, routes, and data models
- Create, read, update, and delete flight records.
- Store essential flight data such as flight number, departure time, arrival time, duration, and pricing (if applicable).
- Manage details for source and destination airports.
- Maintain active airline records and their associated flights.
- Validate logical correctness of departure/arrival times.
- Ensure flights are linked to valid airports and airlines.
- Exposes RESTful endpoints for other services (like Booking Service) to retrieve flight, airline, and airport data.
- Optimized for internal use with structured JSON responses.