From edefb30ea33d86c41bfd16554b59f0d850a89ccc Mon Sep 17 00:00:00 2001 From: demo-bot Date: Mon, 11 May 2026 12:06:23 +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..96384b5 --- /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-nest2 listening on :${process.env.PORT ?? 3000}`); +} +bootstrap();