agrafix / Spock

Another Haskell web framework for rapid development
https://www.spock.li
679 stars 56 forks source link

Example project with client and server app #105

Open maninalift opened 7 years ago

maninalift commented 7 years ago

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 commented 7 years ago

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.