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

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

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