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