Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC-Web Example with Envoy and Docker

This repository shows how to run a Python gRPC service accessible from a browser using gRPC-Web and Envoy.

What's Included

  • A Python gRPC server implementing a simple service
  • An Envoy proxy that translates gRPC-Web requests from the browser into gRPC calls
  • A browser client using Webpack to bundle the generated JavaScript stubs and call the gRPC service

Get Started

  1. Clone the repository:
git clone https://github.com/Vashkatsi/grpc-web-api-example.git
cd grpc-web-api-example
  1. Build and run everything:
docker-compose up --build -d
  1. Open the client at http://localhost:8081. Type a name, click "Say Hello," and the gRPC server will respond via Envoy.

About

Example building Web API with gRPC

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages