This project is an Airplane Ticket Booking System that allows users to search for flights, book tickets, and manage their bookings. It also provides administrative features for admins to manage flights and view bookings.
- Login: Users can authenticate themselves into the system.
- Sign up: Users can create a new account with appropriate data validations.
- Search for Flights: Users can search for flights based on specific date and time criteria.
- Book Tickets: Users can book tickets on a flight based on availability of seats.
- My Booking: Users can view a list of all the bookings made by them.
- Logout: Users can log out from the system.
- Admin Login: Administrators can authenticate themselves into the system with administrative privileges.
- Admin Sign up: Administrators can create a new account with appropriate data validations.
- Add Flights: Administrators can add new flights to the system, providing flight details such as airline, departure, and arrival information.
- Remove Flights: Administrators can remove flights from the system based on flight number or other criteria.
- View Bookings: Administrators can view all the bookings for a specific flight based on flight number and time.
- Logout: Administrators can log out from the system.
- Backend: Java, Spring Boot
- Database: PostgreSQL, Hibernate
- Version Control: Git, GitHub
To get started with the Airplane Ticket Booking System, follow the steps below:
-
Clone the GitHub repository:
git clone https://github.com/your-username/airplane-ticket-booking.git
-
Install PostgreSQL and create a database.
-
Configure the database connection in the application.yml file.
-
Import the required Maven dependencies by running the following command:
mvn clean install
-
Run the application using the following command:
mvn spring-boot:run
Note: This application is still under development. To test it, use a REST client like Postman or Insomnia.