dapr run --app-id catalogue --app-port 3000 --dapr-http-port 3500 node index.js
For further reference, please consider the following sections:
curl -X POST localhost:8080/product/add -H 'Content-type:application/json' -d '{"id": 100, "name": "gardener"}'
curl -X POST localhost:8080/product/add -H 'Content-type:application/json' -d '{"id": 101, "name": "mom1"}'
curl -X GET localhost:8080/product/listall