This is a demo project showing the usage of Event Sourcing and CQRS. You will have to have Docker and Java 9 installed in order to run this demo.
To run the application tests execute this command:
./gradlew test
Build a Docker image for the demo application by running:
./gradlew clean buildDocker
This will create the blog-demo
Docker image in your machine's local Docker image registry.
To start the demo application, zookeper and kafka servers, run:
docker-compose up -d
You should now be able to access REST endpoints e.g.
To stop and remove the containers, run:
docker-compose down