Type cabal install
into terminal to build/run project when in the folder with
HaskellProject.cabal.
To run the server, type cabal run
into terminal when in the folder with
HaskellProject.cabal.
Visit the site via http://localhost:3000
Using the scotty library sets up our server and creates the routes for internal api requests.
Defines all our datatypes and provides operations for modifying them.
Where all the processing of the api calls happens, updates the provided characters based on the specified action and then returns the updated list of characters.
Functions for building and loading new encounters to be passed to the front end on startup.
Used for passing our data between the backend and front end in the form of JSONs.
All of our unit tests.
All of the js/css/html needed to make the front end happen, no haskell code but does work closely with the haskell code and a substatial portion of the project.