From 12d6e47babaac6b2e2ef8fe19296192950828a87 Mon Sep 17 00:00:00 2001 From: demo-bot Date: Mon, 11 May 2026 10:42:46 +0000 Subject: [PATCH] feat(scaffold): add src/main.ts [skip ci] --- src/main.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main.ts diff --git a/src/main.ts b/src/main.ts new file mode 100644 index 0000000..4f3ee27 --- /dev/null +++ b/src/main.ts @@ -0,0 +1,9 @@ +import { NestFactory } from '@nestjs/core'; +import { AppModule } from './app.module'; + +async function bootstrap() { + const app = await NestFactory.create(AppModule); + await app.listen(process.env.PORT ?? 3000); + console.log(`sonar-test-nest listening on :${process.env.PORT ?? 3000}`); +} +bootstrap();