clair/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/browser
2017-06-13 15:58:11 -04:00
..
bin vendor: updated vendor dir for grpc v2 api 2017-06-13 15:58:11 -04:00
.gitignore vendor: updated vendor dir for grpc v2 api 2017-06-13 15:58:11 -04:00
a_bit_of_everything_service.spec.js vendor: updated vendor dir for grpc v2 api 2017-06-13 15:58:11 -04:00
bower.json vendor: updated vendor dir for grpc v2 api 2017-06-13 15:58:11 -04:00
echo_service.spec.js vendor: updated vendor dir for grpc v2 api 2017-06-13 15:58:11 -04:00
gulpfile.js vendor: updated vendor dir for grpc v2 api 2017-06-13 15:58:11 -04:00
index.html vendor: updated vendor dir for grpc v2 api 2017-06-13 15:58:11 -04:00
package.json vendor: updated vendor dir for grpc v2 api 2017-06-13 15:58:11 -04:00
README.md vendor: updated vendor dir for grpc v2 api 2017-06-13 15:58:11 -04:00

Browser example

This directory contains an example use of grpc-gateway with web browsers. The following commands automatically runs integration tests with phantomjs.

$ npm install -g gulp-cli
$ npm install
$ gulp

Other examples

Very simple example

Run

$ gulp bower
$ gulp backends

then, open index.html.

Integration test with your browser

Run

$ gulp serve

then, open http://localhost:8000 with your browser.