* chore: installed terminus package and scaffolded the health module * feat: added healthcheck for database with prisma * chore: renamed label from prisma to database in health check route * chore: reverted target of hopp-old-backend service to prod
11 lines
326 B
TypeScript
11 lines
326 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { HealthController } from './health.controller';
|
|
import { PrismaModule } from 'src/prisma/prisma.module';
|
|
import { TerminusModule } from '@nestjs/terminus';
|
|
|
|
@Module({
|
|
imports: [PrismaModule, TerminusModule],
|
|
controllers: [HealthController],
|
|
})
|
|
export class HealthModule {}
|