Package

purescript-trout-client

Repository
owickstrom/purescript-trout-client
License
MPL-2.0
Uploaded by
owickstrom
Published on
2017-04-18T20:49:32Z

Automatically derived XHR clients for Trout routing types.

Usage

bower install --save purescript-trout-client

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.

bower install
(cd example && npm install)
make run-example

API Documentation

This library's API documentation is published on Pursuit.

License

Mozilla Public License Version 2.0

Modules
Type.Trout.Client
Dependencies