An ecommerce clone made with springboot.
- Before running application is required configure Postgres database on port 5432 and run this command:
create database ecommerce
After this you can run the application:
mvn clean compile spring-boot:run
[GET] /customers
[POST] /customers
[PUT] /customers
[GET] /customers/{id}
[DELETE] /customers/{id}
[GET] /products
[POST] /products
[PUT] /products
[GET] /products/{id}
[DELETE] /products/{id}
[POST] /customers/{customerId}/orders
[GET] /stockItems
[POST] /stockItems
[PUT] /stockItems
[GET] /stockItems/{id}
[DELETE] /stockItems/{id}
[POST] /stockRequest