/Bus-Reservation-System-Portal

This Project Made for Creating a Rest API on Bus Reservation Portal System. In this Product we perform all validation with fundamental CRUD operation.

Primary LanguageJava

Hi, Everyone Welcome

REST API for Bus Reservation System Portal

  • An Collaborative Project Consisting Of the 5 Developer Depicting the implementation of Bus Reservation System Platform like Red Bus or Yatra.
  • The REST API performs all the fundamental CRUD operations and business logics of any Trip Management System like RedBus with user authentication at every API endpoint.

    ER Diagram

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


    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 Route and available Bus for a trip
      • Only logged in user can access his reservations, profile updation and other features.

    👉 Click here to get better understanding of the application.

    Contributors👨‍💻

    👤 @Vaibhav Ghawale
    GitHub: codervaibhav
    LinkedIn: Vaibhav Ghawale
    Worked on Reservation Module

    👤 @Akash Kumar Singh
    GitHub: akashsinghdto55
    LinkedIn: Akash Kumar Singh
    Worked on Admin Module

    👤 @Virendra Kumar Dwivedi
    GitHub: Virendrakumardwivedi
    LinkedIn: Virendra kumar dwivedi
    Worked on Route Module

    👤 @Riya Negi
    GitHub: RiyaNegi03
    LinkedIn: Riya Negi
    Worked on Bus Module

    👤 @Gitanjali Makadi
    GitHub: geetamakadi123
    LinkedIn: Gitanjali Makadi
    Worked on Feedback Module

    Tech Stack

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

    Modules

    • Login, Logout Module
    • Admin Module
    • User Module
    • Route Module
    • Bus Module
    • Reservation Module
    • Feedback Module

    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/mydb;
        spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
        spring.datasource.username=root
        spring.datasource.password=root
    
    

    API Root Endpoint

    https://localhost:8888/

    http://localhost:8888/swagger-ui/

    user this data for checking purpose.

    Following pictures will help to understand flow of the Application and API's of Bus Reservation Portal System

    Start Point

    Screenshot (2376)

    Admin Module

    Screenshot (2377)

    User Module

    Screenshot (2382)

    Route Module

    Screenshot (2381)

    Bus Module

    Screenshot (2380)

    Reservation Module

    Screenshot (2379)

    Feedback Module

    Screenshot (2378)