https://github.com/maurodelazeri/grpcweb
grpcweb
https://github.com/maurodelazeri/grpcweb
golang grpc grpc-web
Last synced: about 1 year ago
JSON representation
grpcweb
- Host: GitHub
- URL: https://github.com/maurodelazeri/grpcweb
- Owner: maurodelazeri
- Created: 2019-03-25T21:12:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T17:14:35.000Z (over 3 years ago)
- Last Synced: 2025-04-01T14:20:58.293Z (about 1 year ago)
- Topics: golang, grpc, grpc-web
- Language: JavaScript
- Size: 3.74 MB
- Stars: 1
- Watchers: 1
- Forks: 4
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# grpcweb
grpcweb
```
cd app/my-app/src/proto
protoc alaska.proto enum.proto user.proto --js_out=import_style=commonjs:. --grpc-web_out=import_style=commonjs,mode=grpcwebtext:.
```
```
cd proto/
protoc helloworld.proto --go_out=plugins=grpc:.
```
Start the server
```
go run main.go
```
Start the app
```
cd app/my-app/
yarn install
yarn start
```
```
docker build -t envoy:v1 .
docker run -d --name envoy -p 9901:9901 -p 8080:8080 envoy:v1
```