header source
my icon
esplo.net
ぷるぷるした直方体
Cover Image for gRPC Web Boilerplate

gRPC Web Boilerplate

about2mins to read

Table of Contents

Overview

gRPC is used for server-to-server communication, but it can also be useful for communication between the browser's frontend and the server. This can be achieved by setting up a proxy using grpc-web/tree/master/go/grpcwebproxy.

The boilerplate we have prepared this time includes libraries related to gRPC schemas. We use Docker Compose to start up with a single command.

Notably, we have adopted Scala for the backend. We use ScalaPB to support Protocol Buffers.

Additionally, we have created the following Docker containers to achieve hot reloading and easy startup.

https://github.com/esplo/docker-protobuf-ts-converter
https://github.com/esplo/docker-grpc-web-proxy

Usage

Please check the details on GitHub.

https://github.com/esplo/grpc-web-boilerplate

Share