Skip to content

Yo-mah-Ya/grpc-typescript

Repository files navigation

gRPC example written in TypeScript

Using this below library, which is pure TypeScript supporting https://github.com/thesayyn/protoc-gen-ts/tree/main

  1. Generate TypeScript codes from .proto files
./codegen.sh
  1. transpile TypeScript to JavaScript
yarn build
  1. execute

terminal 1

node build/src/server.js

another terminal

node build/src/client.js