Skip to content

A web service solution designed to provide customers with a personalized easy-to-utilize user experience for booking and purchasing tickets online.

Notifications You must be signed in to change notification settings

ShashankSinha9592/Bus_Reservation_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BusReservation

Bus Reservation System

A web service solution designed to provide customers with a personalized easy-to-utilize user experience for booking and purchasing bus tickets online.

Database Schemas

Screenshot (96)

Tech Stacks

* Java

* Spring Boot

* Spring Data Jpa

* Spring Security with JWT Token

* MySql Database

* Maven Build tool

* Lombok

* Swagger

Features

* User Authentication

* Role based Authorization

* User can control and manage everything on account related reservations, checks bus on specific route, etc

* Admin Panel

* Validations

Documentation for API

Swagger UI Documentation URL


NOTE : All the end points are protected except for register user so to use this api first you need to create the user and the login from the email and password that you have provoded while registering the user. After successfull login you will be given the jwt token in the headers section named as authorization. You need to authorize that key by sending the token in the key-pair values in the headers like

Authorization : Bearer {jwt_Token}

URL

While registering as user then you must only give authority role as user or admin and you can be both also for that you can add two authority one for admin and one for user

Admin Controller

Screenshot (71)

User Controller

Screenshot (70)

Login Controller

Screenshot (92)

NOTE : Read carefully : Wherever you see time in any schemas example given below like "arrivalTime": { "hour": 0, "minute": 0, "second": 0, "nano": 0 }, then kindly consider the schema like this "arrivalTime" : "HH:MM:SS" change it in this schema and provide the time for example "arrivalTime" : "12:01:02"

Screenshot (72)

About

A web service solution designed to provide customers with a personalized easy-to-utilize user experience for booking and purchasing tickets online.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages