Socket
Book a DemoInstallSign in
Socket

nestjs-grpc-ui

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-grpc-ui

NestJS GRPC UI is a library that provides a simple UI to interact with your GRPC server using the reflection API. You can see the available services and methods, and test them directly from here.

0.0.3
latest
npmnpm
Version published
Maintainers
0
Created
Source

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, // Optional, default is true (this is useful to disable the UI in production environments)
    }),
  ],
})
export class AppModule {}

Then you can use the UI by accessing the /grpc-ui endpoint in your browser 🚀

Stay in touch

  • Author - Matias Capuano
  • LinkedIn - Matias Capuano

License

nest-grpc-ui is MIT licensed.

Keywords

nestjs

FAQs

Package last updated on 12 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.