1.1.0 • Published 2 years ago

@luma-sys/healthcheck-api v1.1.0

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
2 years ago

Luma - Health Check Module

Health Check resource Module para projetos NestJS da Luma Systems.

Sumario

Instalação

npm i luma-healthcheck-module

Modo de uso

ISO8601 Date Validator

Importar os modulos de Health Check e ResourceStatus no AppModule.ts.

import { MiddlewareConsumer, Module, NestModule } from "@nestjs/common";

import { HealthModule, ResourceStatusModule } from "luma-healthcheck-module";

@Module({
  imports: [HealthModule, ResourceStatusModule],
  controllers: [],
  providers: [],
})
export class AppModule implements NestModule {}

Desenvolvimento

Teste

# unit tests
npm run test

# e2e tests
npm run test:e2e

# test coverage
npm run test:cov

Referências