This package has been deprecated

Author message:

Package no longer supported. Migrated to https://www.npmjs.com/package/@amplication/plugin-broker-nats

@amplication/plugin-nestjs-nats

1.0.0 • Public • Published

@amplication/nestjs-nats

NPM Downloads

This plugin provide basic integration with NATS servers

Purpose

This plugin saves the developers the mess of boilerplate a new microservice with integration to NATS server.

Instructions

To make sure that the @amplicaiton/nestjs-nats package will work currectly you as a developer needs to make sure you'r service is booting up with micro-service support in the bootstrap function in the main.ts (This is called an hybrid app).

The two most important function to call are the app.connectMicroservice with a NATS transport and the app.startAllMicroservices function.

Another important thing is to make sure that the NatsModule is called from the app.module.ts

Scripts

build

Running npm run build will bundle your plugin with Webpack for production.

dev

Running npm run dev will watch your plugin's source code and automatically bundle it with every change.

Readme

Keywords

none

Package Sidebar

Install

npm i @amplication/plugin-nestjs-nats

Weekly Downloads

6

Version

1.0.0

License

Apache-2.0

Unpacked Size

17.7 MB

Total Files

20

Last publish

Collaborators

  • amplication-bot
  • mulygottlieb
  • levivannoort
  • overbit
  • morhag
  • amitbarletz
  • yuvalhazaz