Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

nodew/haskell-dapr

Repository files navigation

haskell-dapr (archived)

Haskell loves Dapr

Important!!!

This repo has been archived, please go to dapr-sandbox/haskell-sdk for recent updates.

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

Releases

No releases published

Packages

No packages published