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

This commit is contained in:
2026-05-11 14:48:06 +00:00
parent 10deefe8df
commit 7ff75ea179

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-nest4 listening on :${process.env.PORT ?? 3000}`);
}
bootstrap();