2015-11-09 23:37:04 +00:00
|
|
|
# Haskell SPA
|
|
|
|
|
|
|
|
This is a scaffold for a Haskell single page application.
|
|
|
|
|
|
|
|
The front end is in `ui` and setup to build with `stack` and `ghcjs`.
|
|
|
|
`stack setup` in the `ui` folder will setup `ghcjs` for the project.
|
|
|
|
|
|
|
|
## Dependencies:
|
|
|
|
|
|
|
|
1. stack
|
|
|
|
2. nodejs
|
2015-11-13 23:51:24 +00:00
|
|
|
|
|
|
|
## Branches:
|
|
|
|
|
|
|
|
### `master`
|
|
|
|
|
|
|
|
The `master` branch will be minimal -- just a normal Haskell project with a `ui` folder containing a stack-buildable GHCJS project.
|
|
|
|
|
|
|
|
### `servant`
|
|
|
|
|
|
|
|
The `servant` branch includes a minimal server written in Servant that serves files out of the `ui/assets/` directory.
|