gRPC web boilerplate
だいたい2分で読めます
Table of Contents
Overview
While gRPC is used for server-to-server communication, it is also useful for communication between browser frontend and server.
This can be achieved by setting up a proxy provided by grpc-web/tree/master/go/grpcwebproxy.
In the boilerplate I prepared this time, I incorporated libraries related to the schema used in gRPC.
Using Docker Compose, it can be launched with a single command.
One of its features is the adoption of Scala for the backend.
It uses ScalaPB to support Protocol Buffer.
Additionally, to achieve hot reloading and easy startup, I created the following Docker containers:
How to Use
I have uploaded it to GitHub, so please check there for details.