Skip to content

kauxp/Contest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cart Service

This is a Spring Boot application that functions as a Cart Service, which internally makes API calls to the Fake Store API. This follows MVC architecture and includes CRUD operations. This is a RESTApi which returns the JASON response.

Url for the FakeStoreApi: https://fakestoreapi.com

Localhost: http://localhost:8080/carts

How to

GET:

Get All Carts:

http://localhost:8080/carts

image

Get a Single Cart Based on id:

http://localhost:8080/carts/1

image

Get Carts in a Date Range: http://localhost:8080/carts?startdate=2020-10-03&enddate=2020-12-12

Get Carts By User id:

http://localhost:8080/carts/user/1

image

Get User Carts in a Date Range: http://localhost:8080/carts/user/1?startdate=2020-10-03&enddate=2020-12-12

POST:

http://localhost:8080/carts

PUT, PATCH:

http://localhost:8080/carts/1

DELETE:

http://localhost:8080/carts/1

About

Cart Services of FakeStoreApi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages