A web service solution designed to provide customers with a personalized easy-to-utilize user experience for booking and purchasing bus tickets online.
* Java
* Spring Boot
* Spring Data Jpa
* Spring Security with JWT Token
* MySql Database
* Maven Build tool
* Lombok
* Swagger
* User Authentication
* Role based Authorization
* User can control and manage everything on account related reservations, checks bus on specific route, etc
* Admin Panel
* Validations
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}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
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"