How to use the @nestjs/cqrs.CqrsModule.forRoot function in @nestjs/cqrs

To help you get started, we’ve selected a few @nestjs/cqrs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kamilmysliwiec / nest-cqrs-example / src / app.module.ts View on Github external
import { Module } from '@nestjs/common';
import { CqrsModule } from '@nestjs/cqrs';
import { HeroesGameModule } from './heroes/heroes.module';

@Module({
  imports: [CqrsModule.forRoot(), HeroesGameModule],
})
export class ApplicationModule {}

@nestjs/cqrs

A lightweight CQRS module for Nest framework (node.js)

MIT
Latest version published 2 months ago

Package Health Score

86 / 100
Full package analysis

Similar packages