George Barnett 79c1516d3a Remove outdated examples/documentation (#692) 5 tahun lalu
..
Generated 86748a7766 Adds Echo Web example with functional prototype 6 tahun lalu
Makefile 86748a7766 Adds Echo Web example with functional prototype 6 tahun lalu
README.md 79c1516d3a Remove outdated examples/documentation (#692) 5 tahun lalu
client.js 86748a7766 Adds Echo Web example with functional prototype 6 tahun lalu
index.html 86748a7766 Adds Echo Web example with functional prototype 6 tahun lalu
package.json 86748a7766 Adds Echo Web example with functional prototype 6 tahun lalu

README.md

Echo gRPC-Web Sample App

The Echo gRPC-Web is a node project that creates a website that connects to a gRPC Swift server to display messages. To build it, just run make inside this directory, and then open the index.html file in a web browser. Remember to start the Echo service by executing swift run Echo server 8080 from the package root before opening index.html in the browser.

The proto files were generated by invoking protoc with the protoc-gen-grpc-web plugin as described here.

Dependencies

You'll need to install npm in order to compile the Javascript code.