First of all you need to install haskell build tool https://docs.haskellstack.org/en/stable/install_and_upgrade/
Then I suggest you to install ghcid, it allows you to use hot reloading and rerun your code automatically
stack install ghcid
There are two scripts in Equations.yaml
- gui-dev โ runs frontend in developer mode
- api-dev โ runs backend in developer mode
You might want to install https://github.com/DoctorRyner/sae or translate it to Makefile
But you always just can copy and paste cd gui && ghcid -c "stack ghci gui shared" -r=debugApp
manually
For HTTP requests I had to create this library https://github.com/DoctorRyner/miso-http
And it uses some of the hugest dependencies in all Haskell so it will take some time to build it, be patient