The Bus Reservation System is a Java application designed to manage bus bookings, bus routes, and user authentication. It allows administrators to add and cancel buses, and view bookings, while passengers can book and cancel bus tickets.
-
Admin Panel: Administrators can log in, add buses, cancel buses, and view all bookings.
-
Passenger Panel: Passengers can log in, book bus tickets, cancel booked tickets, and view available buses.
- Java
- Spring Framework
- Spring Boot
- Spring JDBC
- MySQL
- Maven
- Clone the Repository:
git clone https://github.com/gokulgajapathi/BusReservation.git
Navigate to the project directory:
cd busReservation
- Database Setup:
- Set up a MySQL database and import the schema from
src/main/resources/schema.sql
. - Optionally, you can import sample data from
src/main/resources/data.sql
.
Run the BusReservationApplication class:
java com.gokul.BusReservationApplication
Follow the prompts to book or cancel bus tickets.
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the project
- Create your feature branch
(git checkout -b feature/YourFeature)
- Commit your changes
(git commit -am 'Add some feature')
- Push to the branch
(git push origin feature/YourFeature)
- Open a pull request Please make sure to update tests as appropriate.
This project is licensed under the MIT License.