Skip to content

A scalable gRPC microservice & gateway implementation in nest js

Notifications You must be signed in to change notification settings

os-moussao/gRPC-nestjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

A demo for exposing multiple services from a single gRPC server.

grpc-design

Installation

npm run build

Running the app

Start the microservice:

npm run run:calc

Start the gateway:

npm run run:gateway

Open http://localhost:3000

Endpoints:

  • POST /arithmetic/sum
  • POST /arithmetic/multiply
  • POST /bitwise/and
  • POST /bitwise/or
  • POST /bitwise/xor

Body for all endpoints:

{
  values: number[];
}

About

A scalable gRPC microservice & gateway implementation in nest js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published