Skip to content

It is a completely backend project on Java Spring-Boot , Hibernate , MySQL with RESTfull API

Notifications You must be signed in to change notification settings

mdadilraza/flight-management-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Flight Management System

The Flight Management System is a Java Spring Boot application that provides a RESTful API for managing flights, passengers, and bookings. It utilizes Hibernate for database interaction and MySQL as the underlying database.

Installation

Prerequisites

  • JDK 17 or later installed
  • MySQL installed and running
  • Maven for dependency management

Steps

  1. Clone the repository: git clone https://github.com/mdadilraza/flight-management-system.git

  2. Navigate to the project directory:

  3. Configure database settings in application.properties.

  4. Build the project using Maven:

  5. Run the application:

Usage

The API provides endpoints for managing flights, passengers, and bookings. Below are some example endpoints:

  • GET /flights: Retrieve a list of all flights.
  • POST /flights: Add a new flight.
  • GET /passengers: Retrieve a list of all passengers.
  • POST /passengers: Add a new passenger.
  • GET /bookings: Retrieve a list of all bookings.
  • POST /bookings: Make a new booking.

For detailed API documentation and usage examples, refer to the API Documentation.

Database Configuration

The application uses MySQL as the database. Make sure to configure the database connection settings in the application.properties file before running the application.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your fork.
  5. Submit a pull request.

For major changes, please open an issue first to discuss the proposed changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For questions or feedback, please contact the project maintainer at [email protected].

About

It is a completely backend project on Java Spring-Boot , Hibernate , MySQL with RESTfull API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published