Skip to content

ettenauer/dapr-workshop-01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dapr-workshop-01

This repository includes demo material for DAPR Workshop 01.

Prerequisites

Get Started - Dapr Cli

  • setup dapr: dapr init -s
  • start brokers: docker-compose --project-directory ./local-infrastructure up -d
  • choose redis broker: export NAMESPACE=redis
  • choose kafka broker: export NAMESPACE=kafka
  • run station: dapr run --app-id weathercube_station --dapr-http-port 5002 --app-port 4002 --components-path "$PWD/../../dapr-cli" -- dotnet run
  • test station: curl http://localhost:5002/v1.0/invoke/weathercube_station/method/ping -X GET
  • run sensor: dapr run --app-id weathercube_sensor --dapr-http-port 5001 --app-port 4001 --components-path "$PWD/../../dapr-cli" -- dotnet run

Get Started - Dapr Docker-Compose

  • review dependencies: ./docker-compose/docker-compose.yaml
  • review dapr components: ./docker-compose/components
  • run: docker-compose --project-directory ./docker-compose up -d

[Further-Reading] Dapr K8s

  • check out here: https://docs.dapr.io/operations/hosting/kubernetes/kubernetes-overview/

[Further-Reading] Dapr Azure Container Apps - Feature Preview

  • check out here: https://docs.microsoft.com/en-us/azure/container-apps/microservices-dapr

About

repository for dapr workshop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published