https://github.com/craftingweb/airline-ticket-search
A full stack web application that allows you to search for flight tickets available and make reservations. The flight tickets are limited per flight, so once tickets are sold out, customers will no longer be able to reserve a ticket. A receipt is given to customer afterwards as proof of reservation. A database is used to keep track of available
https://github.com/craftingweb/airline-ticket-search
java mongodb reactjs
Last synced: 3 months ago
JSON representation
A full stack web application that allows you to search for flight tickets available and make reservations. The flight tickets are limited per flight, so once tickets are sold out, customers will no longer be able to reserve a ticket. A receipt is given to customer afterwards as proof of reservation. A database is used to keep track of available
- Host: GitHub
- URL: https://github.com/craftingweb/airline-ticket-search
- Owner: craftingweb
- Created: 2023-12-03T15:13:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-09T15:43:45.000Z (over 1 year ago)
- Last Synced: 2025-01-12T08:41:24.264Z (5 months ago)
- Topics: java, mongodb, reactjs
- Language: JavaScript
- Homepage: https://air-ticket-app.vercel.app/
- Size: 507 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Capstone Project: Airline Ticket!
In our Object-Oriented Software Design class, our team, consisting of Enrique Barrios (https://github.com/EnriqueB5310), Tong Lin (https://github.com/tonglin2003), and myself, embarked on a thrilling journey to develop a full-stack web application named the Airline Ticket. This project aimed to streamline the process of searching for available flight tickets and making reservations. Let's dive into the details of our innovative endeavor.Overview
The Airline Ticket Project was conceptualized to provide users with a convenient platform to browse and reserve flight tickets. It offered real-time information on available flights while ensuring a smooth reservation process. Notably, the application had a limitation on ticket availability per flight, allowing customers to reserve tickets until they were sold out. Upon successful reservation, customers received a digital receipt as proof of their booking.Technologies Used

Our frontend was built using React, providing a seamless and interactive user interface, and was hosted on Vercel.
We utilized the Spring Boot Framework in Java for the backend development and was hosted on Render.
Our database of choice was MongoDB.
Other Tools: We leveraged Postman for testing API endpoints and ensuring smooth communication between frontend and backend.
Project Lombok streamlined our development process by reducing boilerplate code.
Dockerfile was used for containerization, ensuring consistent deployment across different environments.Overcoming Challenges
One of the hurdles we encountered was the CORS issue. This security feature arises when a frontend application hosted on one domain tries to access data from a backend hosted on another domain. Our frontend and backend were hosted separately, leading to CORS issues.
Solution: Upon identifying the CORS issue, we conducted thorough research and found a solution on Stack Overflow. We implemented necessary configurations to resolve the CORS problem, ensuring smooth communication between the frontend and backend components of our application.Our MVP encompassed essential features to provide users with a functional and user-friendly experience:
Users could search for available flights to their desired destinations.
A comprehensive list of flights, including dates, times, and locations, was displayed for users to select and reserve tickets.
Users could reserve a ticket by entering basic information required for the booking process.Conclusion
Our journey in developing the Airline Ticket Project has been both challenging and rewarding. Through the implementation of various technologies and overcoming obstacles, we have created a functional web application that simplifies the flight ticket reservation process. As we look forward to future improvements and iterations, our goal remains to enhance user experience and provide a seamless platform for booking flight tickets.![]()
![]()
![]()