👉 To execute and customize the example project per your need shown in this post, here are the minimum requirements you need to install in your system:
- ➡️ Node.js
- ➡️ Curl
- ➡️ Dapr
- ➡️ Visual Studio 2022
- ➡️ Docker Desktop - you need also Docker desktop installed locally to complete this tutorial. It is available for Windows or macOS. Or install the Docker ACI Integration CLI for Linux.
git clone https://github.com/zhoroh/testing_out_dapr.git
Go to root directory of testing_out_dapr
cd testing_out_dapr
npm install
docker compose -d
npm run start:dapr
curl -X POST localhost:3000/pubsub
== APP == Received topic:my-topic message: { hello: 'world' }