Package

purescript-hyper

Repository
owickstrom/hyper
License
MPL-2.0
Uploaded by
nicholassaunders
Published on
2019-05-07T00:28:29Z

Type-safe, statically checked composition of HTTP servers

Getting Started | Documentation | FAQ | Examples


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.

To learn more about Hyper, check out the documentation and the Getting Started tutorial.

Build Status Latest tag


Prerequisites

  • PureScript 0.10.6 or higher
  • NodeJS
  • Bower
  • Pulp

Build

Install dependencies and build:

bower install
pulp build

Running Tests

pulp test

Running Examples

# general format:
pulp run -I examples --main Examples.<example-name>

# for instance to run HelloHyper:
pulp run -I examples --main Examples.HelloHyper

Building all Examples

make examples

Building Documentation

See docs/README.md for prerequisites, setup, and how to work with the documentation.

Then, for the release build, run:

make docs

CodeScene Status

Get more details at codescene.io.

License

Mozilla Public License Version 2.0