naveenSaini1 / pumped-pot-3496

An Collabrative Project Consisting Of the 5 Developer Depicting the implementation of the Trip Managment Platform like MakeMyTrip or Yatra.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

REST API for Online Trip Management System

  • A Collabrative Project Consisting Of the 5 Developer Depicting the implementation of the Trip Managment Platform like MakeMyTrip or Yatra.
  • The REST API performs all the fundamental CRUD operations and business logics of any Trip Management System like MakeMyTrip with user authentication at every API endpoint.

    Features

    • Customer, Driver 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 driver or customer from main database
      • Admin can access the details of different customers, drivers and trip bookings
    • Customer Features:
      • Registering themselves with application, and logging in to get the valid session token
      • Viewing list of available cabs and booking a trip
      • Only logged in user can access his trip history, profile updation and other features.

    Our Team Members 👨‍💻

    Tech Stack

    • Java
    • Spring Framework
    • Spring Boot
    • Spring Data JPA
    • Hibernate
    • MySQL
    • Swagger UI

    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.

    ER Diagram - DB Schema

    Documentation

    SWAGGER UI Documentation - http://localhost:8888/swagger-ui/

    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.
        server.port=8888
    
        spring.datasource.url=jdbc:mysql://localhost:3306/tripy;
        spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
        spring.datasource.username=root
        spring.datasource.password=root
        spring.jpa.hibernate.ddl-auto=update
        spring.jpa.show-sql=true
    
        spring.mvc.pathmatch.matching-strategy= ANT_PATH_MATCHER
    
    

    API Root Endpoint

    https://localhost:8888/

  • About

    An Collabrative Project Consisting Of the 5 Developer Depicting the implementation of the Trip Managment Platform like MakeMyTrip or Yatra.


    Languages

    Language:Java 100.0%