How to start the program(for Windows users) :
- Install Erlang.
- Install RabbitMQ.
- Enter RabbitMQ's Command Prompt and type : "rabbitmq-plugins enable rabbitmq_management" in order to start the server
- Enter the URL: http://localhost:15672/ for RabbitMQ's Management page.
- Fork/clone the project.
- Run the program on an IDE.
- Test with Postman using the following JSON template:
- URL : http://localhost:8080/products
- BODY : { "productId" : 1, "name" : "Desk", "quantity" : 15 }
You can change the information in the JSON body as you wish(not the variable names).
Enjoy :)