/nestjs-grpc-microservice-example

A real-world example of implementing gRPC microservice in NestJS.

Primary LanguageTypeScript

NestJS gRPC Microservice Example

A real-world example of implementing gRPC microservice in NestJS.

Communication Diagram

the diagram

Application's Directory Architecture

This example is using NestJS built-in Workspaces feature.

 - app  #Contains All Services
    - delivery #Internal Service
    - order    #Internal Service
    - gateway  #Public API Gateway Service
    
 - libs #Contains Common Shared Code Between Services
    - grpc   #Includes helpers for gRPC and also protobuf files
    - shared #Shared Helpers/Types