Files
purescript-httpurple/docs/Examples/CustomStack
Connor Prussin 1ad5a08306 Add code formatting with purty (#171)
* Add code formatting with purty

* Purtify code
2021-03-22 12:02:36 -07:00
..

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:

make example EXAMPLE=CustomStack