reg/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/browser
Jess Frazelle 843aebf2c1
update deps
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-07-14 11:48:41 -04:00
..
bin update deps 2018-07-14 11:48:41 -04:00
.gitignore update deps 2018-07-14 11:48:41 -04:00
a_bit_of_everything_service.spec.js update deps 2018-07-14 11:48:41 -04:00
bower.json update deps 2018-07-14 11:48:41 -04:00
echo_service.spec.js update deps 2018-07-14 11:48:41 -04:00
gulpfile.js update deps 2018-07-14 11:48:41 -04:00
index.html update deps 2018-07-14 11:48:41 -04:00
package.json update deps 2018-07-14 11:48:41 -04:00
README.md update deps 2018-07-14 11:48:41 -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.