Spock icon indicating copy to clipboard operation
Spock copied to clipboard

Example project with client and server app

Open maninalift opened this issue 8 years ago • 1 comments

Building and deploying web app in Haskell with a Haskell server and ghcjs front-end is rather tricky. There are a lot of moving parts and a lot of competing technologies (ghc/ghcjs/cabal/maybe nix/maybe stack/maybe docker/maybe docker compose/some database/perhaps makefiles/secret management/dev-test-production settings).

I'd really love an example project with very little application code but to give an idea of how you would structure a project to have a sensible workflow for development testing and deployment.

Otherwise I will happily share anything I manage to set-up.

ps. Thank you for this very nice library :)

maninalift avatar Jan 20 '17 22:01 maninalift

The list of useful stuff that could be included could go on indefinitely (e.g. database migration framework) but the core is building a spock server with a ghcjs client interacting using the spock api definition.

maninalift avatar Jan 20 '17 22:01 maninalift