GRPC Sample How implement a server with grpc and how to retrieve data from a client
Using Visual Studio Code just open the file called gRPC_sample.code-workspace
and install dependencies in each project.
$ npm install --prefix nestjs.micro.client
$ npm install --prefix nestjs.micro.server
$ sh run.sh
# development
$ npm run start --prefix nestjs.micro.client
$ npm run start --prefix nestjs.micro.server
# watch mode
$ npm run start:dev --prefix nestjs.micro.client
$ npm run start:dev --prefix nestjs.micro.server
# production mode
$ npm run start:prod --prefix nestjs.micro.client
$ npm run start:prod --prefix nestjs.micro.server
- grpcSample (workspace folder)
|-nestjs.micro.client
|-nestjs.micro.server
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.