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
- Host: GitHub
- URL: https://github.com/cgqaq/grpc-web-hello-grpc
- Owner: CGQAQ
- License: bsd-3-clause
- Created: 2024-04-07T07:11:39.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-10T08:09:00.000Z (about 2 years ago)
- Last Synced: 2025-04-02T00:53:04.414Z (about 1 year ago)
- Topics: envoyproxy, grpc, grpc-go, grpc-server, grpc-web, k8s, kubernetes
- Language: TypeScript
- Homepage:
- Size: 774 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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