Skip to content

Simple event-sourcing java implementation using spring-boot, jpa, etc...

License

Notifications You must be signed in to change notification settings

daggerok/boot-event-sourcing

Repository files navigation

boot-event-sourcing Build Status

Let’s implement simple internet store where you can create, paid order and where system can change it’s state…​.

build and run

build, run and test using gradle / docker
./gradlew
java -jar build/libs/*.jar
bash build/libs/*.jar

./gradlew build composeUp
./gradlew composeDown
build, run and test using maven / docker
./mvnw
java -jar target/*.jar
bash target/*.jar

bash mvnw docker-compose:up -P docker
bash mvnw docker-compose:down -P docker

test

http post :8080/api/
http post :8080/api/00000000-0000-0000-0000-000000000000

Initially generated by using generator-jvm yeoman generator (kotlin-spring-boot)