This repo contains Dapr applications to demonstrate several Dapr building block APIs and the built-in resiliency capabilities.
Running the DemoTime demos in this repo is recommended since this gives more context about:
- The Dapr OSS project
- State Management API
- Service Invocation API
- Pub/Sub API
- Resiliency policies
Ensure you have these installed on your machine:
-
VSCode - Although other IDEs can be used to view the code, some VSCode specific extensions are used (such as DemoTime) to help guide you through the slides and the codebase.
-
For Demo 1b a Postgres database is required that can be installed via docker:
docker pull postgres:latest docker run --name postgres -e POSTGRES_PASSWORD=postgres123 -d postgres -p 5432:5432
- Clone the this repo to your local machine.
- Open the cloned repo in VSCode and accept the suggested VSCode extensions.
Click the play button in the DEMO TIME panel in the explorer to start the slide show.
Progress through the slides and demos by clicking the DEMO TIME icon in the status bar or the next step in the DEMO TIME panel in the explorer.
Diagrid Conductor is a free tool developers can use to visualize, troubleshoot, and optimize Dapr workloads on Kubernetes. It includes an Advisor that provides recommendations on how to improve the reliability of your Dapr applications.
Conductor also comes with two builders to generate Dapr component files and resiliency policies so you don't have to figure out the correct yaml schema yourself.