Code Monkey home page Code Monkey logo

bus_reservation_system's Introduction

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)

bus_reservation_system's People

Contributors

deveshjoshi101 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.