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

This commit is contained in:
2026-05-11 10:42:46 +00:00
parent ee06316d01
commit 12d6e47bab

9
src/main.ts Normal file
View File

@@ -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();