- This project is an Airline reservation system. Airline reservation systems allow an airline to sell their goods (seats). It contains information on schedules and fares and contains a database of reservations and of tickets issued.
-
Salma Khalid Shreef
-
Alia Saddik
-
Veronika Fayez
-
Haidy Ayman Abdelkhalek Abdelrazek Tohfa
-
Abdullah Husam Khalil
- This project aims to make it easier for travellers to reserve an airline ticket and view all flights schedule in addition to changing their reseved flight or seat by only few simple steps.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
run the commands bellow in a new terminal to install the required packages
npm install
npm install express
npm install mongoose
A step by step series of examples that tell you have to get a development enviroment running
Navigate to the backend directory
cd backend
Then run:
node app.js
Open a new terminal and navigate to the frontend directory
cd frontend
Then run:
npm start
Within few seconds the project should be running
-
- Functionality : create a new flight
- Route : /createFlight
- Request type : POST
-
- Functionality : view a list of all available flights
- Route : /viewFlights
- Request type : GET
-
- Functionality : update (edit) any selected flight and its details including flight number, departure and arrival times, number of available Economy seats, number of Business Class seats, dates and airports.
- Route : /updateFlight
- Request type : GET
- Response :
-
- Functionality : delete any selected flights and all their details upon confirmation
- Route : /delete
- Request type : DELETE
- Response : A prompt popup to confirm deletion.
-
- Functionality : search for available flights based on number of passengers (children and adults), departure airport and arrival airport terminals, departure and arrival dates and cabin class
- Route : /searchFlights
- Request type : POST
-
- Functionality : see all details of a selected flight
- Route : /viewFlight/:id
- Request type : GET
-
- Functionality : see all details of a selected flight
- Route : /viewFlight/:id
- Request type : GET
-
- Functionality : Signup by entering their details in a form including first name, last name, home address, country code, telephone number(s), email and passport number and creating a username and password
- Route : /viewFlight/:id
- Request type : GET
-
- Functionality : search for available flights based on number of passengers (children and adults), departure airport and arrival airport terminals, departure and arrival dates and cabin class
- Route : /searchFlights
- Request type : POST
-
- Functionality : see all details of a selected flight
- Route : /viewFlight/:id
- Request type : GET
-
- Functionality : confirm reserving the chosen flight
- Route : /confirmReserve
- Request type : POST
-
- Functionality : select one or more of the available seats in the chosen cabin of the chosen departure flight
- Route : /viewSeats/:id/:FlightId/:Cabin/:TicketId
- Request type : GET
-
- Functionality : view all their current reserved flights
- Route : /viewReserved
- Request type : GET
-
- Functionality : edit their information including first name, last name, passport number and email
- Route : /updateProfile
- Request type : PUT
-
- Functionality : signin using username and password
- Route :
- Request type :
-
- Functionality : Change reserved seat or seats for a selected flight
- Route : /changeSeats
- Request type : GET
-
- Functionality : edit a selected reserved flight
- Route : /changeFlight
- Request type : GET