Microservice. Project. Command side. Domain.
Run RabbitMQ
$ brew services start rabbitmq
Make sure that services are running:
Dependencies:
$ cd my-company-project-domain-microservice
$ ./mvnw spring-boot:run
Application will be available on port 8082 (http://localhost:8082)
$ curl -H "Content-Type: application/json" -X POST -d '{"name":"Name","repoUrl":"URL","siteUrl": "siteUrl","description": "sdfsdfsdf"}' http://127.0.0.1:8082/projectcommands
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-project-domain-microservice’ registered.