https://github.com/daggerok/boot-event-sourcing
Simple event-sourcing java implementation using spring-boot, jpa, etc...
https://github.com/daggerok/boot-event-sourcing
eventsourcing eventstore non-blocking reactive spring-5 spring-boot spring-webflux webflux
Last synced: 28 days ago
JSON representation
Simple event-sourcing java implementation using spring-boot, jpa, etc...
- Host: GitHub
- URL: https://github.com/daggerok/boot-event-sourcing
- Owner: daggerok
- License: mit
- Created: 2018-09-15T16:31:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-29T23:31:36.000Z (over 7 years ago)
- Last Synced: 2025-01-10T00:46:11.069Z (over 1 year ago)
- Topics: eventsourcing, eventstore, non-blocking, reactive, spring-5, spring-boot, spring-webflux, webflux
- Language: Java
- Size: 192 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= boot-event-sourcing image:https://travis-ci.org/daggerok/boot-event-sourcing.svg?branch=master["Build Status", link="https://travis-ci.org/daggerok/boot-event-sourcing"]
////
image:https://travis-ci.org/daggerok/boot-event-sourcing.svg?branch=master["Build Status", link="https://travis-ci.org/daggerok/boot-event-sourcing"]
image:https://gitlab.com/daggerok/boot-event-sourcing/badges/master/build.svg["Build Status", link="https://gitlab.com/daggerok/boot-event-sourcing/-/jobs"]
image:https://img.shields.io/bitbucket/pipelines/daggerok/boot-event-sourcing.svg["Build Status", link="https://bitbucket.com/daggerok/boot-event-sourcing"]
////
Read link:https://daggerok.github.io/boot-event-sourcing[project reference documentation]
//tag::content[]
Let's implement simple internet store where you can create,
paid order and where system can change it's state....
link:https://www.wiseweb.pl/blog-how-to-implement-event-sourcing-in-java/[motivation]
link:https://www.youtube.com/watch?v=Xu3Yn6Nx-iw[YouTube: KotlinConf 2017 - Why Spring Loves Kotlin by Sebastien Deleuze]
//end::content[]
//tag::build-and-run[]
=== build and run
.build, run and test using gradle / docker
[source,bash]
----
./gradlew
java -jar build/libs/*.jar
bash build/libs/*.jar
./gradlew build composeUp
./gradlew composeDown
----
.build, run and test using maven / docker
[source,bash]
----
./mvnw
java -jar target/*.jar
bash target/*.jar
bash mvnw docker-compose:up -P docker
bash mvnw docker-compose:down -P docker
----
//end::build-and-run[]
//tag::test[]
=== test
[source,bash]
----
http post :8080/api/
http post :8080/api/00000000-0000-0000-0000-000000000000
----
Initially generated by using link:https://github.com/daggerok/generator-jvm/[generator-jvm] yeoman generator (kotlin-spring-boot)
//end::test[]