feat(scaffold): add src/app.module.ts [skip ci]

This commit is contained in:
2026-05-11 12:06:22 +00:00
parent 7cbc861707
commit bea9fd98fb

15
src/app.module.ts Normal file
View 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 {}