Haskell + Snap + MongoDB + TypeScript + React
Actualy, client has some impurity. It uses not immutable state. I don't know how to avoid it. Maybe you can help me.
To build client:
yarn install yarn build
To build server:
devel.cfg. Fix parameters.
cabal install cabal run --p 9000
In case you want to use HTTPS:
cabal install and then
./prepare_with_ssl.sh. it will create ssl keys and build snap with
To run server
./run_ssl.sh and then in browser:
Build for Linux
To build server for linux you can use special docker image.
docker-composer up from deploy folder. Check
./deploy/build.sh for more information.
Tests. For everything!