An open API service indexing awesome lists of open source software.

https://github.com/cgqaq/grpc-web-hello-grpc

GRPC server in Golang and client in react/web, Unary RPC and Server streaming RPC demos WITH k8s config to deploy
https://github.com/cgqaq/grpc-web-hello-grpc

envoyproxy grpc grpc-go grpc-server grpc-web k8s kubernetes

Last synced: 5 months ago
JSON representation

GRPC server in Golang and client in react/web, Unary RPC and Server streaming RPC demos WITH k8s config to deploy

Awesome Lists containing this project

README

          

# GRPC server in Golang and client in react/web, Unary RPC and Server streaming RPC demos

### On Windows:
#### prerequisites:
- Golang 1.22 (for grpc backend)
- protoc (for compile .proto files)
- nodejs (for frontend deps)
- yarn (for frontend deps)
- docker (for envoy)

#### HOW TO (Windows)
- double click `launch-grpc-server.bat` to launch grpc server
- double click `launch-envoy.bat` to launch envoy proxy to translate `grpc-webtext` to `grpc`
- double click `launch-grpc-web.bat` to launch next dev server
- open `http://localhost:3000` in browser

### HOW TO (Any system that have k8s installed)
- double click k8s-apply.bat on Windows
- run `k8s-apply.sh` on Unix like system