How to use grpc-web without envoy

Viewed 2802

I am playing with grpc & grpc-web. I was able to run a simple grpc server and grpc-web applications. However I feel like the setup requires too many dependencies web-server, grpc-server and envoy proxy.

Is anyone successfully using grpc-web for production? Do we need all the dependencies including envoy?

2 Answers

We are using the grpc web proxy from improbable. So what you need is :

  1. Generated js client + grpc web runtime module
  2. Grpc web proxy
  3. Your implementation of grpc services Nothing special...

Yes, we need some kind of proxy, but instead of Envoy proxy you can use build in solutions like grpcweb.

Related