Skip to content

jeevanpranav02/flight_ticket_booking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airplane Ticket Booking System

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.

Table of Contents

Features

User Features

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

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

Technologies Used

  • Backend: Java, Spring Boot
  • Database: PostgreSQL, Hibernate
  • Version Control: Git, GitHub

Getting Started

To get started with the Airplane Ticket Booking System, follow the steps below:

  1. Clone the GitHub repository:

    git clone https://github.com/your-username/airplane-ticket-booking.git
  2. Install PostgreSQL and create a database.

  3. Configure the database connection in the application.yml file.

  4. Import the required Maven dependencies by running the following command:

    mvn clean install
  5. 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.

About

A small backend project to learn about Spring

Topics

Resources

Stars

Watchers

Forks

Languages