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
httpandsdk. Thehttpfolder uses an HTTP client with Dapr to call the "backend" API. Thesdkfolder uses the language specific Dapr SDK to call the "backend" API - Each
httpandsdkfolder has afrontendandbackendfolder. The "frontend" acts as the client and the "backend" acts as the API. - Each
frontendandbackendfolder has aDockerfile. Build this to run the examples. - The examples are designed so that the
frontendcalls thebackendof the respective sample. - To run this locally, build the Docker image and use the
localfolder to deploy to a local Kubernetes cluster - To run this on Azure, build the Docker image and deploy this with the commands in the
deployfolder ->commands.txtfile.
SDKs: