Skip to content

Latest commit

 

History

History
42 lines (36 loc) · 791 Bytes

README.md

File metadata and controls

42 lines (36 loc) · 791 Bytes

node-grpc-typescript

Node.js gRPC Structure for TypeScript Example

Installation

$ npm i

Build

$ npm run build:proto # *.proto
$ npm run build # *.ts

Server Start

$ node dist/server
# OR
$ npm start

Client Test

# 1. Request
$ npm run client #= node dist/client
# 2. with Parameter
$ npm run client blahblahblah
# 3. Error
$ npm run client error
# 4. Stream
$ npm run client stream
# 5. Health Check
$ npm run health

node_modules

package.json

Documentation