• Stars
    star
    195
  • Rank 199,374 (Top 4 %)
  • Language
    Java
  • License
    MIT License
  • Created over 6 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

✈️ An enterprise level Flight Booking System for Turkish Airlines (web-application) based on the Model View Controller (MVC) Architecture made using Java Servlets, Java Server Pages (JSPs). Moreover authentication and authorization for users is implemented. The web-application is also secured against SQL Injection and Cross-Site Scripting attacks.

Flight Booking System for Airlines (Java Web Application) ✈️

views Open Source Love svg1 GitHub Forks GitHub Issues contributions welcome

A fully responsive web-based Flight Booking System for Turkish Airlines based on the Model View Controller (MVC) Architecture made using Java Servlets, Java Server Pages (JSPs). Moreover authentication and authorization for users is implemented using Tomcat Roles. The web-application is also secured against SQL Injection and Cross-Site Scripting attacks.

Technologies Used

  • Frontend: HTML, CSS, JavaScript, Jquery, Bootstrap, Java Server Pages (JSPs), AJAX (for a Flight Search Widget)
  • Backend: Java Servlets, Java Models, Microsoft Access (Database)
  • Webservices: SOAP Web Services (to get price and number of seats)
  • Security Features: SQL Injection, Cross-Site Scripting (XSS), Tomcat Roles

Roles

Following roles are implemented:

  • Airline Admin
  • Airline Manager
  • Customer

Workflow (Functionalities)

This is for just one airline who wants to sell seats to their customers via internet.

Following are the steps of work flow:

  1. Airline Admin will set the prices of the seats. There should be three types of seats:
    • First Class
    • Business
    • Economy
  2. The Airline Admin should be able to create and update the features of each type of seat.
  3. The Airline Admin should be able to set the total number of seats for each flight.
  4. Airline Manager should see a list of seats which the Admin has added or edited when he/she logs in.
  5. Airline Manager then needs to approve the new price or updates.
  6. When the price and update is approved by the manager only then it should be available for the customer to buy.
  7. The Customer should be able to buy seats based on availability.
  8. When a customer buys a ticket the system should be able to calculate how many seats are left. If all seats are bought the application should not let the customers buy more seats.
  9. The Customer should be able to select the following, to select a seat:
    • origin and destination cities
    • dates of travel
    • number of people traveling
  10. When the customer selects the seat and confirms the booking flight Itinerary should be shown to the customer.
  11. When the customer approves the itinerary the customer should be taken to a payment page where the total price should be shown. When the customer presses the pay button consider the transaction done and mark the seat sold.
  12. Once the seat is sold, send out an email to the customer with the flight itinerary.

Interface

Home Pages

Login Page and Book Flight

Current Bookings and Itinerary

Seat Features and Approval

How to Run

1- Install these:

2- Open Netbeans IDE and go to Services > Servers > Apache Tomcat. Right click "Apache Tomcat" and select Properties. Copy the Catalina Base Path and open it. Open the "conf" folder and then the "tomcat-users.xml" file there. Copy the following lines and paste them in the tomcat-users.xml file before closing tag

<role rolename="Manager"/>
<role rolename="Admin"/>
<role rolename="Customer"/>

<user username="[email protected]" password="a" roles="Admin"/>
<user username="[email protected]" password="m" roles="Manager"/>
<user username="[email protected]" password="c" roles="Customer"/>

Morever, open and read the file. Only the users authenticated in this file are allowed to login and use the Booking System. Use above mentioned credentials to login through the Login Page.

3- Restart NetBeans IDE. Click on File -> Open Project and browse to the downloaded folder named "Project". There will be two projects there "Turkish Airlines" and "WSTester" (which is basically a project to test the Web Services). Select both and open them. Both projects will be loaded. Now first run the Turkish Airlines project, then to test the web services run WSTester project.



Hey there, I'm Haris Ultimate Facebook Scraper (UFS) - Maker of Things

Creator of Ultimate Facebook Scraper (one of the best software to collect Facebook data for research & analysis)


🌐 Connect

🤝 Consulting / Coaching

Stuck with some problem? Need help in solution development, guidance, training or capacity building? I am a Full Stack Engineer turned Project Manager with years of technical and leadership experience in a diverse range of technologies and domains. Let me know what problem you are facing at [email protected] and we can schedule a consultation meeting to help you get through it.

👨‍💻 Technical Skills & Expertise

  • Development of Web Applications, Mobile Applications, and Desktop Applications
  • Development of Machine Learning/Deep Learning models, and deployment
  • Web Scraping, Browser Automation, Python Scripting

❤️ Support / Donations

If you or your company use any of my projects, like what I’m doing or have benefited from my projects in any way then kindly consider backing my efforts.

For donations, you can follow these simple steps:

1) Free signup at TransferWise using this link: https://transferwise.com/invite/u/harism95. (Signing up through this link will save you from any transcation fee on the donation)

2) Select the amount e.g (15$) and choose the receiving/recipient's currency to be PKR. It supports multiple payment options (credit card, debit card, wire transfer etc)

3) Then it will show my info as the recipient, select it. If my name isn't shown, then type my email [email protected] in recipients.

4) Choose the reason for transfer to the one that suits you the most (in this case it could be 'General expenses') and in the reference section, you can mention 'Support'

If you face any issue in sending donation then feel free to get in touch with me at [email protected]

Thank you for your contribution!

Author

You can get in touch with me on my LinkedIn Profile: LinkedIn Link

You can also follow my GitHub Profile to stay updated about my latest projects: GitHub Follow

If you liked the repo then kindly support it by giving it a star and share in your circles so more people can benefit from the effort.

Contributions Welcome

forthebadge

If you find any bug in the code or have any improvements in mind then feel free to generate a pull request.

Issues

GitHub Issues

If you face any issue, you can create a new issue in the Issues Tab and I will be glad to help you out.

License

MIT

Copyright (c) 2018-present, harismuneer

More Repositories

1

Ultimate-Social-Scrapers

🤖 Top-rated tools to scrape all major sections from Facebook, Instagram, and Twitter (X) including posts (likes/comments), photos/videos, contact information, followers, following and much more.
2,902
star
2

Restaurant-Management-System

👨‍🍳 An Android based RMS that aims to digitalize the day to day processes of various restaurant operations including ordering, billing, kitchen, hall and inventory management.
Java
250
star
3

Clinic-Management-System-ASP.NET

👨‍⚕️ A fully featured Clinic Management System based on three tier architecture made using ASP.NET, C# with a well documented README.md file.
C#
189
star
4

Network-Simulation-Using-Cisco-Packet-Tracer

🖧 Designed this network configuration for the network of three companies, given some constraints. Its an interesting problem demonstrating the concepts of Classless IP Subnetting and using RIPv2 Protocol.
80
star
5

Guide-to-Graduate-CS-Admissions-USA

🎓 A step-by-step guide containing everything you need to know about Ph.D/Masters admissions in Computer Science. Moreover, it's augmented with excellent resources including scholarships, internships and research programs.
79
star
6

BelalHashmi-Assembly-Exercise-Solutions

💻 This repository provides solutions to most of the programming questions in the exercise given at the back of chapters for Bao Ji's Book (text book for course "Comp. Organization & Assembly Lang. EE213" at FAST). Sharing these with you, so that they might help you in understanding the concepts.
Assembly
53
star
7

AndroCompare

⚙️ An efficient tool to do in-depth comparison of two android apps.
Python
32
star
8

Android-Apps-Downloader

📱 A tool to download android apps from Google Play Store and Xiaomi App Store (the famous Chinese Store).
Python
30
star
9

2-3-Tree

🌲 A C++ implementation of all functionalities (insertion, deletion, search etc) of a 2-3 (two-three) Tree using Rotation, Split and Merge operations. (Please share if you find any bug in the code)
C++
13
star
10

Audio-and-FFT-Plots

🔊 A Matlab application which makes the Audio Plot (Amplitude vs Time) and Fast Fourier Transform Plot (FFT) for a given sound file.
MATLAB
13
star
11

Stop-Watch_x86-Assembly

⏱️ A fully featured stop watch made in 8086 Assembly Language, having two modes: Split Timing and Lap Timing
Assembly
12
star
12

Wanderlust-The-Travellers-App

👟 An android application for travellers which allows them to save their journey experiences at one place in an organizable way. For detailed description, read the README.md file. Moreover, the application's design follows the latest HCI and UI/UX design guidelines.
Java
9
star
13

Bit-Manipulation-and-Subroutines-8086_Assembly

🖥️ Interesting solved problems demonstrating the concepts of Bit Manipulation and Subroutines (Functions) in 8086 Assembly Language.
Assembly
8
star
14

Car-Parking-Controller

🚗 A Car Parking Simulator made in LogicWorks 5 as a final project for the course "Digital Logic Design (EE227)"
7
star
15

how-to-win-coding-competitions

👨🏼‍💻 Presentation for a seminar hosted by ACM on competitive programming.
7
star
16

Graphical-Display-Memory-and-Software_Hardware-Interrupts-x86_Assembly

📌 Solved problems to help better understand the important concepts of Display Memory (Video Card Memory), String Manipulation, Software Interrupts and Hardware Interrupts in context of x86 Assembly Language (8086 Assembly)
Assembly
4
star
17

harismuneer

Hi, it's Haris. Nice to meet you!
2
star
18

infobot

an information retrieval search engine
Python
2
star