Skip to content

joaofbantunes/DaprSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DaprSample

Very basic sample using Dapr.

ToDo.Web is an API that allows the management of TODOs, which are persisted using Dapr's APIs.

ToDo.EventListener subscribes to events published by ToDo.Web, again done through Dapr's APIs.

To run ToDo.Web, in its folder, execute:

dapr run --app-id todo-web --app-port 5000 dotnet run -- --environment Development

To run ToDo.EventListener, in its folder, execute:

dapr run --app-id todo-events --app-port 5002 dotnet run -- --environment Development

Pre-requisites:

  • Docker - Dapr will run some auxiliary containers, like Redis which is used as the default state store and pub/sub provider
  • Install and init Dapr (instructions in Dapr's site)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages