Traverson-angular with Browserify

Traverson makes it easy to work with REST/HATEOAS APIs. It works in Node.js as well as in the browser. traverson-angular makes it easy to integrate Traverson into your AngularJS application. This example shows how to use traverson-angular with Browserify. It talks to the local Traverson test server.

There is also an example on how to use traverson-angular without browserify: Non-browserify Example and an example using the GitHub API with traverson-angular.

You need to start the test server contained in the traverson-angular repository with node bin/start-test-server.js. This serves this page as well as the REST API that is used in the examples. Open the URL http://localhost:2808/static/browser/example/browserify/index.html in your browser. If the URL in your browser's address bar says file:... the examples on this page will not work.

Setup


Plain Vanilla Link Following


      

JSONPath


      

URI Templates


      

HAL


      
<