Spring Boot ecommerce REST application.
Application was meant to be a playground, not a serious commercial project
- CRUD operations for products
- CRUD operations for product categories
- product categories support tree-like structure (categories can have parent categories)
- CRUD operations for paymentMethods
- CRUD operations for countries
- placing orders:
- orders can be marked as completed
- order payments can be marked as completed
- order addresses can be updated
- JWT authentication
- PostgreSQL database (working in docker container)
- Swagger documentation
Make sure docker is running in your system
- Start postgres database
docker compose up --detach
- Build maven project
mvn clean install
- Run java project
java -jar ./target/ecommerce-<version>.jar
To access swagger documentation run application and visit this url:
http://localhost:8080/swagger-ui/index.html