Skip to content

akursat/grpc-web-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grpc-web-example

A grpc web example with Javascript and Go

Server side

install grpc with $ go get -u google.golang.org/grpc
install protoc-gen-go with $ go get -u github.com/golang/protobuf/protoc-gen-go
run $ export PATH=$PATH:$GOPATH/bin
run $ ~/grpc-web-example/server go run main.go

Envoy Proxy

install docker
run $ docker build -t grpc-web-example/envoy -f ./Dockerfile .
run $ docker run -d -p 8080:8080 -p 9901:9901 --network=host grpc-web-example/envoy

Client Side

run $ npm install
run $ npm run dev

About

A grpc web example with Javascript and Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages