Microservice. Blog. Command side. Domain.
Run RabbitMQ
$ brew services start rabbitmq
Make sure that services are running:
Dependencies:
$ cd my-company-blog-domain-microservice
$ ./mvnw spring-boot:run
Application will be available on port 8080 (http://localhost:8080)
$ curl -H "Content-Type: application/json" -X POST -d '{"title":"xyz","rawContent":"xyz","publicSlug": "publicslug","draft": true,"broadcast": true,"category": "ENGINEERING", "publishAt": "2026-12-23T14:30:00+00:00"}' http://127.0.0.1:8080/blogpostcommands
Open RabbitMQ management web console at http://localhost:15672/ and explore exchanges, queues and messages.
username: guest password: guest
Open Registry (Eureka) web console at http://localhost:8761/ and find ‘my-company-blog-domain-microservice’ registered.