Skip to content

jmjjmj994/ca-dev-platforms-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ca-dev-platforms-backend

//User managment

Register

URL: api/register Method: POST

Request body:

{ "firstName": "name", "lastName": "lastname", "email": "[email protected]", "password": "password" }

Login

URL: api/login Method: POST

Request body:

{ "email": "[email protected]", "password": "password" }

//Cars Route |||||

Get all cars

URL: api/cars Method: GET

Post a car

URL: api/cars Method: POST

Request body:

{ "brand": "brand", "color": "color", "price": "price", "img": "img-url" }

Update the car

URL: api/cars/id Method: PUT

Request body:

{ "brand": "updated-brand", "color": "updated-color", "price": "updated-price", "img": "updated-img-url" }

Delete a car

URL: api/cars/id Method: DELETE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published