Welcome to YatraSarthi, your one-stop solution for bus ticket booking. YatraSarthi bus reservation system is a state-of-the-art Spring Boot application designed to revolutionize the way customers book and purchase bus tickets online. With a focus on delivering a personalized, user-friendly experience, our platform brings convenience, efficiency, and reliability to the world of bus travel.
YatraSarthi is designed with the following key features:
- Bus Management: Administrators can easily add new bus details, including routes, schedules, and other relevant information.
- Route Management: Efficiently create and manage bus routes, ensuring accurate and up-to-date route information.
- Bus Deletion: Admins have the capability to remove buses from the system when necessary, maintaining a clean and updated database.
- User Registration: Users can securely create their accounts, providing personal information for future bookings.
- Ticket Booking: The platform offers a convenient ticket booking process, allowing users to choose their preferred routes, seats, and schedules.
- Ticket Cancellation: Users have the flexibility to cancel their booked tickets, adhering to defined cancellation policies.
YatraSarthi aims to streamline the bus ticket booking experience, making it hassle-free for users while providing administrators with the tools they need to manage the service effectively. This project embodies teamwork and a commitment to enhancing the user experience in the world of bus travel.
YatraSarthi is built using the following technologies:
- Java
- Spring Framework
- Spring Boot
- MySQL
- Maven
- Swagger UI
- Lombok
- Login Module
- Admin Module
- Operator Module
- Customer Module
To run this project locally:
-
Clone the repository and navigate to the directory:
-
Configure your MySQL credentials in
application.properties
located in thesrc/main/resources
directory. Replace with your actual MySQL credentials:spring.datasource.url=jdbc:mysql://localhost:3306/your-database-name spring.datasource.username=your-username spring.datasource.password=your-password
-
Use Maven to build the project:
mvn clean install
-
After a successful build, navigate to the
target
directory and run the JAR file:java -jar target/decisive-iron-5903-0.0.1-SNAPSHOT.jar
-
Your application should be up and running at http://localhost:8080.
Feel free to explore and enjoy the convenience of bus ticket booking with YatraSarthi!