Package

purescript-hyper-routing-xhr

Repository
owickstrom/purescript-hyper-routing-xhr
License
MPL-2.0
Uploaded by
owickstrom

Automatically derived XHR clients for Hyper routing types.

Example

The example shows the integration of client and server based on a common routing type for an API. XHR clients are generated by this package for all endpoints, and the simple Pux application can safely request resources without having to duplicate routing information and JSON encoding and decoding instances.

cd example
bower install
npm install
make run-example