purescript-httpurple/docs/Examples/CustomStack/Readme.md
Drew Olson ac43b0d125 Update response functions to return MonadAff m => m Response (#150)
* Update Response functions to return MonadAffs

* Install psc-package for travis build
2019-09-29 20:57:15 -07:00

12 lines
303 B
Markdown

# CustomStack Example
This example demonstrates using middleware to introduce a custom monad stack
to your application. Here, we run our router within a `ReaderT` to provide a
globally-available environment during routing.
To run the example server, run:
```bash
make example EXAMPLE=CustomStack
```