Skip to content

hosopy/grpc-web-kotlin-sample

Repository files navigation

grpc-web-kotlin-sample

This is a sample project aims to try gRPC-Web.

Backend service is built with Kotlin + Spring Boot with grpc-spring-boot-starter.

Architecture

How to run

$ git clone [email protected]:hosopy/grpc-web-kotlin-sample.git
$ cd grpc-web-kotlin-sample
$ docker-compose up

After initialization process, you can access http://localhost:3000.

Web

Input name and press send, and you can see a result received from gRPC service.

Web result

Message sequence

Below is a message sequence.

Sequence