Traverson in the Browser

Talking to the GitHub API

Traverson makes it easy to work with REST/HATEOAS APIs. It works in Node.js as well as in the browser. This example talks to the GitHub API - from your browser.

There is also the Traverson Test Server Example.

Start All Requests At Once

To run this example locally, you should start the test server contained in the Traverson repository with node bin/start-test-server.js. This serves this page and its static assets. Then open the URL http://localhost:2808/static/browser/example/github.html in your browser.

Setup


Find a commit comment