- Clone crabzilla:
git clone https://github.com/crabzilla/crabzilla
cd crabzilla
- Open another terminal and build it, skipping running tests:
mvn clean install -DskipTests=true
- Now clone this demo and build it
git clone https://github.com/rodolfodpk/demo
cd demo
gradle build
- Now let's start the Postgres database and NATS
cd demo
docker-compose up
- Finally, let's run this demo application
- Then lets do a request:
wget -O- http://localhost:8080/hello
- NATS is running in memory, so the messages are not persistent.
- Since we are using an AtomicInteger to generate ids, every time you starts the application you need to recreate the database:
cd demo
docker-compose down -v
docker-compose up
![GitHub Logo](https://github.com/cqrs-arch-outbox.png)