add NestJS skeleton and GET /api/health-check.

Thin API bootstrap with config module and nullcart-style health route for Docker checks.
This commit is contained in:
2026-09-27 23:05:28 +02:00
parent aff4d2cc6f
commit a785ce775f
14 changed files with 4516 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import appConfig from './config';
import { HealthCheckModule } from './modules/healthCheck/HealthCheckModule';
@Module({
imports: [
ConfigModule.forRoot({
isGlobal: true,
load: [appConfig]
}),
HealthCheckModule
]
})
export class AppModule {}