Nest Grpc UI
A NestJS module provides a simple UI to interact with gRPC services in a NestJS application.
Installation
npm install nest-grpc-ui
Motivation
gRPC is a high-performance, open-source, universal RPC framework that enables efficient communication between microservices. Nest Grpc UI is motivated by the need for a user-friendly interface to interact with gRPC services in a NestJS application. By providing a simple and intuitive UI, developers can easily test, debug, and monitor their gRPC services, enhancing the overall development experience.
Usage
First you need to import the module in your app.module.ts
file:
import { Module } from "@nestjs/common";
import { GrpcUiModule } from "nestjs-grpc-ui";
@Module({
imports: [
GrpcUiModule.forRoot({
grpcServer: "localhost:50051",
endpointUI: "/grpc-ui",
enabled: true,
}),
],
})
export class AppModule {}
Then you can use the UI by accessing the /grpc-ui
endpoint in your browser 🚀
Stay in touch
License
nest-grpc-ui
is MIT licensed.