Reference service
Exports:
$ export DIR="$HOME/some/path" OUT_DIR="$HOME/some/path/grpc"$ protoc -I=$DIR echo.proto \
--js_out=import_style=commonjs:$OUT_DIR \
--grpc-web_out=import_style=commonjs,mode=grpcwebtext:$OUT_DIRor
$ protoc -I=$DIR \
--js_out=import_style=commonjs:$OUT_DIR \
--grpc-web_out=import_style=commonjs,mode=grpcwebtext:$OUT_DIRRunns on localhost:8080
Proxy from :8080 to :50051 Rpc