This example shows how to use GRPC streams in nestjs. All required protobuf interfaces are generated automatically. This example covers both roles: GRPC-Server or GRPC-Client (common code).
cd backend
npm install
npm run start:server
cd backend
npm install
npm run start:client
export CLOUD_SERVER=MY_REMOTE_SERVER
npm run start:client
After extending a .PROTO file, the required interfaces for nestjs can be generated as follows:
cd backend
npm run generate:proto