feat(scaffold): add src/app.module.ts [skip ci]
This commit is contained in:
15
src/app.module.ts
Normal file
15
src/app.module.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TerminusModule } from '@nestjs/terminus';
|
||||
import { PrometheusModule } from '@willsoto/nestjs-prometheus';
|
||||
import { ItemsModule } from './items/items.module';
|
||||
import { HealthController } from './health.controller';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
TerminusModule,
|
||||
PrometheusModule.register({ path: '/metrics' }),
|
||||
ItemsModule,
|
||||
],
|
||||
controllers: [HealthController],
|
||||
})
|
||||
export class AppModule {}
|
||||
Reference in New Issue
Block a user