@concepta/nestjs-otp
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

Rockets NestJS Otp

A module for managing a basic Otp entity, including controller with full CRUD, DTOs, sample data factory and seeder.

Project

NPM Latest NPM Downloads GH Last Commit GH Contrib NestJS Dep

Installation

yarn add @concepta/nestjs-otp

Usage

// ...
import { TypeOrmExtModule } from '@concepta/nestjs-typeorm-ext';
import { OtpModule } from '@concepta/nestjs-user';
import { CrudModule } from '@concepta/nestjs-crud';

@Module({
  imports: [
    TypeOrmExtModule.forRoot({
      type: 'postgres',
      url: 'postgres://user:pass@localhost:5432/postgres',
    }),
    CrudModule.forRoot({}),
    OtpModule.forRoot({}),
  ],
})
export class AppModule {}

Configuration

Seeding

Configurations specific to (optional) database seeding.

ENV

Configurations available via environment.

Variable Type Default
ORG_MODULE_SEEDER_AMOUNT <number> 50 number of additional users to create

Dependencies (9)

Dev Dependencies (6)

Package Sidebar

Install

npm i @concepta/nestjs-otp

Weekly Downloads

78

Version

4.0.0

License

BSD-3-Clause

Unpacked Size

39.1 kB

Total Files

47

Last publish

Collaborators

  • mrmaz
  • leoafarias