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:servercd backend
npm install
npm run start:clientexport CLOUD_SERVER=MY_REMOTE_SERVER
npm run start:clientAfter extending a .PROTO file, the required interfaces for nestjs can be generated as follows:
cd backend
npm run generate:proto