protoc-gen-go-micro/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/browser
Manfred Touron 5448f25fd6
glide up
2017-05-18 23:33:43 +02:00
..
bin glide up 2017-05-18 23:33:43 +02:00
.gitignore glide up 2017-05-18 23:33:43 +02:00
a_bit_of_everything_service.spec.js glide up 2017-05-18 23:33:43 +02:00
bower.json glide up 2017-05-18 23:33:43 +02:00
echo_service.spec.js glide up 2017-05-18 23:33:43 +02:00
gulpfile.js glide up 2017-05-18 23:33:43 +02:00
index.html glide up 2017-05-18 23:33:43 +02:00
package.json glide up 2017-05-18 23:33:43 +02:00
README.md glide up 2017-05-18 23:33:43 +02: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.