Skip to content

jdebarochez/hello-grpc

Repository files navigation

Hello world using gRPC-Web

Guide is here: gRPC-Web helloworld example

How to run

Start first the Envoy container:

docker build -t helloworld/envoy -f ./envoy.Dockerfile .
docker run -d -p 8080:8080 helloworld/envoy

Run the server:

node server.js

Open the index.html with your favorite browser and contemplate the hello world.

How to improve

Rebuild the client.js script using Webpack:

npx webpack client.js

Issues on Windows 10

Using Docker for Windows, take note of this commit for your Envoy container to contact a service of your host machine. More information with this issue gRPC-Web #402.

About

Hello world using gRPC-Web

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published