This is a Spring Boot application that functions as a Cart Service, which internally makes API calls to the Fake Store API. There code is majorly present in 2 files. CartController and CartService. The are 2 Models Cart and Product. There are 7 functions.
- Get all carts.
- Get a particular cart.
- Get carts within some particular date range.
- Get carts of a paricular user.
- Add a new cart.
- Update a new cart.
- Delete a cart. Functions inside the CartController is dependent on the functions in CartService.