- Java 17
- Maven 3.9.4
Clone or download this repository to your local machine.
git clone 'https://github.com/DevelopmentHiring/UtkuSapaz.git'
Open the project in your IDE.
You can run the project with Docker.
docker build -t shoppingcart .
docker run -p 8080:8080 shoppingcart
POST http://localhost:8080/cart/add/item
Body
{ "itemId":123, "categoryId":3003, "sellerId":33, "price":2500, "quantity":2 }
POST http://localhost:8080/cart/add/vasitem
Body
{"itemId": 123, "vasItemId":2, "categoryId": 3242, "sellerId":5003, "price":5, "quantity":2}
DELETE http://localhost:8080/cart/remove/item
Body
{ "itemId":123 }
DELETE http://localhost:8080/cart/reset
GET http://localhost:8080/cart
Used DDD Clean Architecture. The file architecture was created using this article and video: Medium Article || Steve Pember @ Spring I/O 2023 Conference
- Java 17
- Spring Boot 3.5.1
- Spring Data JPA
- H2 Database
- Docker