Type-safe, statically checked composition of HTTP servers
Hyper is an experimental middleware architecture for HTTP servers written in PureScript. Its main focus is correctness and type-safety, using type-level information to enforce correct composition and abstraction for web servers. The Hyper project is also a breeding ground for higher-level web server constructs, which tend to fall under the “framework” category.
- PureScript 0.13.0 or higher
Install dependencies and build:
# general format:
spago run -p examples/<example-name>.purs -m Examples.<example-name>
# for instance to run HelloHyper:
spago run -p examples/HelloHyper.purs -m Examples.HelloHyper
See docs/README.md for prerequisites, setup, and how to work with the documentation.
Then, for the release build, run: