Using this below library, which is pure TypeScript supporting https://github.com/thesayyn/protoc-gen-ts/tree/main
- Generate TypeScript codes from
.proto
files
./codegen.sh
- transpile TypeScript to JavaScript
yarn build
- execute
terminal 1
node build/src/server.js
another terminal
node build/src/client.js