To compile targets in defined in hserve.cabal
file:
cabal build
To run the server:
cabal run
The server will start at http://localhost:3000
To run the program in interactive mode (ghci with all the modules and libraries loaded):
cabal repl
If port 3000 is already being used on your machine, please change the server port in Config.hs
port = "<NEW_PORT>"