Skip to content

This is a online trip management system application where user can book tour packages which include hotel and bus booking services.

Notifications You must be signed in to change notification settings

Siddharth263/Online-Trip-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API for Online Trip Management System

Coding

  • A Collabrative Project Consisting Of the 5 Developer Depicting the implementation of the Trip Managment Platform like MakeMyTrip or Yatra.
  • A developement of RESTful API for an application. This API performs all the fundamental CRUD operations of any with user validation at every step.

    Author - @Priyanshu

    Features

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

    Contributors

    Tech Stack

    • Java
    • Spring Framework
    • Spring Boot
    • Spring Data JPA
    • Hibernate
    • Maven
    • MySQL

    Modules

    • Login, Logout Module
    • Packages Module
    • Booking Module
    • TicketDetails Module
    • Route Module
    • Travels Module
    • Bus Module
    • Hotel Module
    • Report Module
    • Feedback Module

    ER Diagram

    The following Diagram depicts the flow of our Entity Relation Diagram to simplify the work flow.



    Installation & Run

    • 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
    
    

    API Root Endpoint

    http://localhost:8080/

    http://localhost:8080/swagger-ui/