You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The present Micro-service is a part of an Airline Booking Backend System, tasked with performing the fundamental CRUD (Create, Read, Update, Delete) operations for entities such as flights, airplanes, cities, and airports. It implements a sophisticated data filtering mechanism, allowing users to search flights based on various parameters, including price, departure airport, and arrival airport. The solution is implemented using Node.js, Express and MySQL, ensuring reliable and scalable performance in a micro-service architecture.
Project Setup
Clone this Repository
Please run the command npm install in the root directory of this folder path.
Create a .env file in the root directory and add the following environment variable.
PORT = 3000
Inside the src/config folder create a new file config.json and then add the following piece of JSON
Once you've added your db config as listed above, go to the src folder from your terminal and execute
npx sequelize db:create npx sequelize db:migrate
DB Design
Airplane Table
Flight Table
Aitport Table
City Table
About
Micro-service for Airline Booking System. CRUD operations for entities like flights, airplanes, cities & airports. Sophisticated data filtering for flight searches based on price, departure & arrival airport. Implemented using Node.js, Express & MySQL for reliability & scalability.