UNPKG

traverson

Version:

Hypermedia API/HATEOAS client for Node.js and the browser

8 lines (5 loc) 569 B
This folder contains an example html page that shows how Traverson works in the browser. You need to start the test server with `node bin/start-test-server.js`, which serves index.html and the static assets as well as the REST API that is used in the example. Then open one of the URLs: * <http://localhost:2808/static/browser/example/index.html> or * <http://localhost:2808/static/browser/example/github.html> or * <http://localhost:2808/static/browser/example/github.condensed.html> in your browser and click on "Start All Requests At Once" to get Traverson going.