/purescript-hyper-routing-xhr

Automatically derived XHR clients for Hyper routing types.

Primary LanguagePureScript

purescript-hyper-routing-xhr

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