Various scenarios using Dapr and Service Invocation. This is designed to be ran locally on Kubernetes clusters and also deployed to Azure Container Apps with an ARM template.
About this repo:
- Each language has a folder named
http
andsdk
. Thehttp
folder uses an HTTP client with Dapr to call the "backend" API. Thesdk
folder uses the language specific Dapr SDK to call the "backend" API - Each
http
andsdk
folder has afrontend
andbackend
folder. The "frontend" acts as the client and the "backend" acts as the API. - Each
frontend
andbackend
folder has aDockerfile
. Build this to run the examples. - The examples are designed so that the
frontend
calls thebackend
of the respective sample. - To run this locally, build the Docker image and use the
local
folder to deploy to a local Kubernetes cluster - To run this on Azure, build the Docker image and deploy this with the commands in the
deploy
folder ->commands.txt
file.
SDKs: