protoc-gen-go-micro/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/browser/README.md
2017-03-31 18:01:58 +02:00

497 B

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.