Add Build System to Handle Both Server & Client
|Status:||In Progress||Start date:||10/20/2017|
|Assignee:||Pavan Rikhi||% Done:|
|Category:||General||Spent time:||9.37 hours|
|Target version:||v2.0.0 - Post-Migration Issues|
Running something like `./build.hs` would be cool.
Use shake to run commands & fsnotify to watch files.
On start, fork the webpack dev server in a new thread, build the server & run it.
When a haskell file changes, kill the server, rebuild & re-launch the server.
On Ctrl-C, shutdown the server, kill webpack & exit w/ success.
[#1205] Replace Server Makefile with Custom Build Script
Add a `manage.hs` file to the root directory of the project to handle
builds for both the client & server.
The default or `watch` command will install node, setup stack, run the
webpack dev server, & build/start/watch/restart the API server.
Additional commands exist for cleaning the built files, building
production files, & starting REPLs.