Skip to content

A Simple spring boot application which performs CRUD operations for CAR,DRIVER entities.

Notifications You must be signed in to change notification settings

shwethadavenapalli/CarManagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CarManagement

A Simple spring boot application which performs CRUD operations for CAR,DRIVER entities.

This application exposes endpoints for Driver to Select a Car

POST -  /associateCarToDriver/{CAR-LICENSE-PLATE-NUMBER}/{DRIVER-LICENSE-NuMBER}
PUT -  /disAssociateCarToDriver/{CAR-LICENSE-PLATE-NUMBER}/{DRIVER-LICENSE-NuMBER}

POST - /cars
sample json request body :  {
   "licensePlate":"CAR2",
   "seatCount":2,
   "engineType":"DIESEL"
}

POST - /drivers
sample json request body:{
   "name":"john",
   "address":"Mumbai",
   "phoneNumber":"123456890",
   "licenseNumber":"DL2"
}


About

A Simple spring boot application which performs CRUD operations for CAR,DRIVER entities.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages