This is the sample project for the Book "Understanding Eventsourcing"
The first book to combine Eventmodeling, Eventsourcing to plan and build Software Systems of any size and complexity.
The Eventmodel is here:
If you want to quickly learn about Eventmodeling, here is the original article:
The original Eventmodeling Article
By subscribing to the newsletter you´ll get access to the "little" Eventmodeling Handbook, which can serve as a quick reference in addition to the book.
The book is written in public and current progress can always be checked here
The Github Repository including all source code can be found here: Github
The sample application is written in Kotlin / Spring / Axon
( there is a typescript implementation available here: Typescript+Emmet )
You need to have Docker installed.
Here are the simple steps to start the application in a development environment.
-
install IntelliJ IDEA
-
Install the most recent Java SDK (File -> Project -> SDK)
-
In the terminal type 'mvn clean install', this will do a full maven install of all the dependencies. You can do the same in IntelliJ as well.
-
Ensure you have docker running (if you don't already have it installed on your machine, you need it for testcontainers to work. on Windows just install the docker desktop app).
-
Build the app
Start the app by right-cicking on the "ApplicationStarter" in src/test/kotlin and klick run. This will start the whole application including all dependencies.
The source code in the book was mostly generated directly from the Event Model. If you want to see this process in action, I can highly recommend this E-Mail Course that spans 8 days currently and guides you through the process of creating your own custom Code Generator.