kostyay / grpc-web-example

Example of using grpc-web with VueJS and Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grpc-web-example

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

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

About

Example of using grpc-web with VueJS and Go

License:MIT License


Languages

Language:JavaScript 74.1%Language:Vue 11.9%Language:Go 4.2%Language:Dockerfile 3.6%Language:HTML 3.3%Language:Makefile 2.9%