![Coding](https://private-user-images.githubusercontent.com/112754704/237639968-3350fe3a-4994-4faa-b0bc-dbc76383f6e0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3MDM0MjUsIm5iZiI6MTcxOTcwMzEyNSwicGF0aCI6Ii8xMTI3NTQ3MDQvMjM3NjM5OTY4LTMzNTBmZTNhLTQ5OTQtNGZhYS1iMGJjLWRiYzc2MzgzZjZlMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyOVQyMzE4NDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNDRjMWMxNTVkYmVkODYzYjc5ODZiN2FhZmFhNDI0ZWIyN2EyMDNkY2M3NWYxYTAyZDg4YTQ4Zjk3MDU5YThiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.GxCVX-hS6jSUVLxXH3VGOs5gzCwoSnoOei6bY_Uf2I8)
Author - @Priyanshu
- Customer and Admin authentication & validation with session uuid having.
- Admin Features:
- Administrator Role of the entire application
- Only registered admins with valid session token can add/update/delete customer from main database
- Admin can access the details of different customers and trip bookings
- Customer Features:
- Registering themselves with application, and logging in to get the valid session token
- Viewing list of available buses, packages, hotels and booking a trip
- Only logged in user can access his trip history, profile updation and other features.
- @Priyanshu -- Team Lead
- @Fehmida Shaikh
- Java
- Spring Framework
- Spring Boot
- Spring Data JPA
- Hibernate
- Maven
- MySQL
- Login, Logout Module
- Packages Module
- Booking Module
- TicketDetails Module
- Route Module
- Travels Module
- Bus Module
- Hotel Module
- Report Module
- Feedback Module
The following Diagram depicts the flow of our Entity Relation Diagram to simplify the work flow.
![](/Siddharth263/Online-Trip-Management-System/raw/main/er-diagram/online trip management system.png)
- Before running the API server, you should update the database config inside the application.properties file.
- Update the port number, username and password as per your local database config.
spring.datasource.url=jdbc:mysql://localhost:3306/tripManagementSystem;
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.username=root
spring.datasource.password=root
http://localhost:8080/
http://localhost:8080/swagger-ui/