/haskell-sdk

Dapr SDK for Haskell

Primary LanguageHaskellApache License 2.0Apache-2.0

haskell-dapr

Haskell loves Dapr

Local development

Setup Haskell development environment

See How to get started with Haskell in 2022 (the straightforward way)

Install Docker

Windows/MacOS: Docker desktop

Linux: Docker engine

Install the Dapr CLI

See Install the Dapr CLI

Install protoc

Follow the document Installing protoc

The default protoc installed by above scripts requires sudo permission, you can update the permission by

chmod 755 /usr/local/bin/protoc

Clone code

git clone https://github.com/nodew/haskell-dapr.git

cd haskell-dapr

Run tests

Setup dependencies

./scripts/test-init.sh

Init dapr

dapr init

dapr run --app-id haskell-dapr --dapr-http-port 3500 --components-path ./components

Execute tests

stack test

TODO

  • Add more tests
  • Add Server module
  • Create a sample app
  • GRPC integration