- Team members:
-
- Ahmed Elghobashy
- Karim Elshaarawy
- Mohamed Elshaarawy
- Ahmed Ramadan
- Alfarouk Amr
It is a airline reservation system where Admin can add ,edit ,delete Flights from the system and logged in users can search for flights,reserve seats and confirm tickets and make payments with credit card. User can also view his tickets and edit or cancel reserved flights and email himself with his itinerary, While guest can search for avaialable flights but cannot confirm ticket without signing in.
we decided to create this project for the following reasons :
- learning Agile software engineering
- Building complete frontend with nice UI and UX
- Using MERN stack to build full software project
- Dealing with several APIs like Nodemailer and Stripe
Most of the functionality of the project working well with some reloading issues. The whole system needs to be tested.
- we sticked to camelcase naming convention while naming variables.
- we used Model-View-Controller (MVC) as a design pattern for the project.
Here are some Screenshots from the website.
- User homepage
- Flight Selection
- Seats Selection
- Admin Flight Creation
- Admin Flight Search
In this project we used MERN stack and serveral APIs that includes
-
MongoDB is the DBMS we used to store flights and users information.
-
Express is Back-end web application framework for Node.js
-
React is the front-end javascript library that is used to build User Interfaces.
-
Node.js is an back-end JavaScript runtime environment that executes JavaScript code outside a web browser.
-
Mongoose allows back-end to send or retrieve data from MongoDB.
-
Axios is used to connect back-end with front-end.
First you should install Node.js then install the following
npm install express react axios nodemailer mongoose cors dotenv
bootstrap @stripe @mui @material-ui @emotion
Here are some snippets of the code
- User Schema
- Flight Router
- Flight Controller
- App Router
- Admin list all available flight
-
Nodemailer API is used to send emails to user on ticket confirmation or deletion.
-
Stripe API allows user to pay for reservation using credit card.
- Elegant and simple UI and UX
- Easy to learn and User friendly website
-
Karim ELshaarawy LinkedIn Email: karimelshaarawy2000@gmail.com
-
Alfarouk Amr LinkedIn Email: faroukamr508@gmail.com github
-
Mohamed Elshaarawy LinkedIn Email: mohamedelshaarawy87@gmail.com
-
Ahmed Ramadan LinkedIn Email: ahmedramadandev20@gmail.com github
-
Ahmed EL Ghobashy LinkedIn Email: ahmadsamir694@gmail.com github
Copyright (c) 2022 Karim Elshaarawy , Alfarouk Amr , Mohamed Elshaarawy , Ahmed Ramadan , Ahmed EL Ghobashy
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.