/product-service-using-cqrs

product-service-using-cqrs is a event driven microservice with CQRS design pattern

Primary LanguageJava

product-service-using-cqrs

product-service-using-cqrs is a event driven microservice with CQRS design pattern

To Run this microservice need to follow below steps

  • Go to Axon Developer site link
  • Download the Axon Server Jar and run the axonserver.jar with below command
 java -jar axonserver.jar

The default port for Axon server is 8024

  • Now you are good to go you can run the spring application

API's exposed

[
  {
      "name": "{product_name}",
      "price": "{product_price}",
      "quantity": "{product_quantity}"
  },
  {
    "name": "{product_name}",
    "price": "{product_price}",
    "quantity": "{product_quantity}"
  }
]