https://github.com/overworkedcriminal/ecommerce
Demo Spring Boot ecommerce application. It's meant to be a playground, not a serious project
https://github.com/overworkedcriminal/ecommerce
java-21 jpa jwt postgresql spring-boot-3 unit-testing
Last synced: about 2 months ago
JSON representation
Demo Spring Boot ecommerce application. It's meant to be a playground, not a serious project
- Host: GitHub
- URL: https://github.com/overworkedcriminal/ecommerce
- Owner: OverworkedCriminal
- Created: 2024-10-02T08:46:31.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-20T09:46:36.000Z (over 1 year ago)
- Last Synced: 2025-05-17T00:12:21.895Z (about 1 year ago)
- Topics: java-21, jpa, jwt, postgresql, spring-boot-3, unit-testing
- Language: Java
- Homepage:
- Size: 272 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ecommerce
Spring Boot ecommerce REST application.
Application was meant to be a playground, not a serious commercial project
### Main features
- 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
### How to run
Make sure docker is running in your system
1. Start postgres database
```
docker compose up --detach
```
2. Build maven project
```
mvn clean install
```
3. Run java project
```
java -jar ./target/ecommerce-.jar
```
### Documentation
To access swagger documentation run application and visit this url:
http://localhost:8080/swagger-ui/index.html