github nestjs/terminus 10.0.0-beta.0
Release 10.0.0-beta.0

latest releases: 10.3.0-beta.0, 10.2.3, 10.2.2...
pre-release18 months ago

Features

Get started with Prisma x Terminus:

  1. Install Prisma
  2. Install this release (unstable)
npm install @nestjs/terminus@10.0.0-beta.0
  1. Update your health.controller.ts:
@Controller()
export class HealthController {
  constructor(
    private readonly health: HealthCheckService,
    private readonly prisma: PrismaHealthIndicator,
    private readonly prismaService: PrismaService,
  ) {}

  @Get('/health')
  healthCheck() {
    return this.health.check([
      () => this.prisma.pingCheck('prisma', this.prismaService),
    ]);
  }
}

Checkout the Prisma sample app here

BREAKING CHANGES

  • drop support for Node v12

Don't miss a new terminus release

NewReleases is sending notifications on new releases.