Skip to content

advanced-computer-lab/Unique-and-in-English-only

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unique-and-in-English-only


Image

  • Team members:
    • Ahmed Elghobashy
    • Karim Elshaarawy
    • Mohamed Elshaarawy
    • Ahmed Ramadan
    • Alfarouk Amr

Unique Airlines Reservation System

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.

Motivation

we decided to create this project for the following reasons :

  1. learning Agile software engineering
  2. Building complete frontend with nice UI and UX
  3. Using MERN stack to build full software project
  4. Dealing with several APIs like Nodemailer and Stripe

Build status

Most of the functionality of the project working well with some reloading issues. The whole system needs to be tested.

Code style

  • we sticked to camelcase naming convention while naming variables.
  • we used Model-View-Controller (MVC) as a design pattern for the project.

Screenshots

Here are some Screenshots from the website.

  • User homepage

Image

  • Flight Selection

Image

  • Seats Selection

Image

  • Admin Flight Creation

Image

  • Admin Flight Search

Image

Technology

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.

Installation

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

Code Examples

Here are some snippets of the code

  • User Schema

Image

  • Flight Router

Image

  • Flight Controller

Image

  • App Router

Image

  • Admin list all available flight

Image

API Reference

  • 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.

Features

  • Elegant and simple UI and UX
  • Easy to learn and User friendly website

Resources

Credits

License

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published