https://github.com/kostyay/grpc-web-example
Example of using grpc-web with VueJS and Go
https://github.com/kostyay/grpc-web-example
grpc grpc-web protobuf vuejs
Last synced: 12 months ago
JSON representation
Example of using grpc-web with VueJS and Go
- Host: GitHub
- URL: https://github.com/kostyay/grpc-web-example
- Owner: kostyay
- License: mit
- Created: 2020-09-26T13:16:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-20T08:55:04.000Z (over 1 year ago)
- Last Synced: 2025-03-26T10:21:22.820Z (about 1 year ago)
- Topics: grpc, grpc-web, protobuf, vuejs
- Language: JavaScript
- Homepage:
- Size: 133 KB
- Stars: 37
- Watchers: 1
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# grpc-web-example
This repository demonstrates the usage of grpc-web with vuejs and a Go microservice.
You can read the tutorial [here](https://grpcguide.com/grpc-web-frontend).
## Directories:
* api - Contains the gRPC/proto definitions
* envoy - Contains the envoy configuration for grpc-web to grpc proxying
* time - time microservice in Go, listens on port 9090 for gRPC connections
* frontend - simple vuejs application
## Usage:
* `make proto` - Generate proto clients
* `make run-frontend` - Start frontend
* `make run-servers` - Start Time services and Envoy proxy