Skip to content

CatsMiaow/node-grpc-typescript

Repository files navigation

node-grpc-typescript

Node.js gRPC structure with google.protobuf for TypeScript example

Installation

npm ci

Build

# exports to *.proto to *.ts
npm run build
npm run lint

Server Start

npm start #= node dist/server

Client Test

Start the server before testing client commands.

# 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

Documentation

Releases

No releases published

Packages

No packages published