Skip to content

Example of using grpc-web with VueJS and Go

License

Notifications You must be signed in to change notification settings

kostyay/grpc-web-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grpc-web-example

This repository demonstrates the usage of grpc-web with vuejs and a Go microservice.

You can read the tutorial here.

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