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
Get All Carts:
http://localhost:8080/carts
Get a Single Cart Based on id:
http://localhost:8080/carts/1
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
Get User Carts in a Date Range:
http://localhost:8080/carts/user/1?startdate=2020-10-03&enddate=2020-12-12
http://localhost:8080/carts
http://localhost:8080/carts/1
http://localhost:8080/carts/1