Skip to content

REST API for an Online Cab Booking application. This API performs all the fundamental CRUD operations of any Online Cab Booking platform with user validation at every step.

Notifications You must be signed in to change notification settings

Soumya048/knowledgeable-sea-5909

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Online Cab Booking Application

REST API for an Online Cab Booking Application. Customers can book any type of cab to travelling different destinations. This API performs all the fundamental CRUD operations. There are validations for input data. and usersession uuid to access the API.

Badges

Badge

Tech Stack

  • Java
  • Spring Framework
  • Spring Boot
  • Spring Data JPA
  • Hibernate
  • Spring Validation
  • MySQL
  • Lambok
  • Swagger Ui

Modules

  • Login Module
  • Admin Module
  • Customer Module
  • Driver Management Module
  • Cab Management Module
  • Trip Booking Management Module

ER Diagram

CW_erd-Page-1 drawio

Service Interface

CW_erd-Page-2

Features

  • Customer, Driver and Admin authentication & validation with session UUID.
  • Admin Features:
    • Admin can register, log in, log out, update and delete accounts
    • Admin have control over the entire application
    • Admin can manage Cab, Driver, and Booking
    • Admin can access the details of different customers, drivers and trip bookings
    • Only logged-in Admin can access all features of Admin
  • Customer Features:
    • Customers can register themselves with the application, logging in and logout into the application
    • Customers can book cabs for the desired location from a specific location and can cancel the booked trip
    • Customers can update, or delete their accounts
    • Only logged-in users can access all customer features
  • Driver Features:
    • Drivers can register themselves with the application, log in and log out into the application
    • Drivers can update the trip status
    • Drivers can update and delete their accounts
    • Only logged-in drivers can access all driver features

Installation and Run

#changing the server port
server.port=8088

#db specific properties
spring.datasource.url=jdbc:mysql://localhost:3306/cabbooking
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.username=root
spring.datasource.password=root


#ORM s/w specific properties
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true

#No handler found
spring.mvc.throw-exception-if-no-handler-found=true
spring.web.resources.add-mappings=false

#swagger-ui
spring.mvc.pathmatch.matching-strategy = ANT_PATH_MATCHER

API Root and Endpoint

https://localhost:8088/
http://localhost:8088/swagger-ui/

Contributors

About

REST API for an Online Cab Booking application. This API performs all the fundamental CRUD operations of any Online Cab Booking platform with user validation at every step.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages