nest-cloud / nestcloud-grpc-example

How to use nestcloud/grpc for loadbalance rpc call.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NestCloud

NPM Version Package License NPM Downloads Travis Linux Coverage

A NodeJS micro-service solution based on Consul, writing by Typescript language and NestJS framework.

Dependency

  • Consul

Requirement Components

  • @nestcloud/common
  • @nestcloud/consul
  • @nestcloud/consul-service
  • @nestcloud/consul-loadbalance
  • @nestcloud/grpc

How to run

yarn
yarn run start:server1
yarn run start:server2
yarn run start:client

Then visit http://localhost:3004/heros

About

How to use nestcloud/grpc for loadbalance rpc call.


Languages

Language:TypeScript 100.0%