Skip to content

Latest commit

 

History

History
134 lines (85 loc) · 5.27 KB

File metadata and controls

134 lines (85 loc) · 5.27 KB

Bus Reservation System

  • Bus Reservation System is a full stack project where REST API's are developed using Java and Spring Boot technologies and UI or frontend is developed using HTML,CSS, JavaScript
  • These API's performs all the fundamental CRUD operations of any Bus Reservation Application platform with user validation at every step.
  • Our frontend application consumes these API's and allows customer to perform all the operations easily with user friendly UI.
  • This project is developed by team of 4 Back-end Developers during project week in Masai School.

Tech Stack

  • Java
  • Spring Framework
  • Spring Security(JWT)
  • Spring Boot
  • Spring Data JPA
  • Hibernate
  • MySQL
  • HTML
  • CSS
  • JavaScript

Modules

  • Admin Module
  • User Module
  • Route Module
  • Bus Module
  • Reservation Module
  • Feedback Module

Entity Relationship Diagram

ER Diagram for the database tables.

App Screenshot

Features

  • Admin Features:

    • Only registered admins with valid credentials can login.
    • Administrator Role of the entire application.

    • Admin can add/update/delete route and bus from main database.

  • User Features:

    • User can signup with proper details.

    • User can login using his credentials.

    • User can view list of available buses and can book a reservation.

    • User can view all his tickets,cancel tickets and user can also give feedback.

    • User can update all his details including username and password.

Installation & Run

  • Before using the web application or 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=8818

    spring.datasource.url=jdbc:mysql://localhost:3306/bus_reservation_db
    spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
    spring.datasource.username=root
    spring.datasource.password=root

  • Now you can perform all the operations by using either our web application or Swagger.

API Root Endpoint

`http://localhost:8818/`
`http://localhost:8818/swagger-ui.html`

Contributors

THANK YOU FOR VISITING OUR PROJECT