feat: scaffold NestJS API application

This commit is contained in:
2026-05-27 14:19:42 +05:30
parent 1b10dda42e
commit ee353762a5
11 changed files with 230 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import 'reflect-metadata';
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
const port = process.env['API_PORT'] ?? 3001;
await app.listen(port);
console.log(`TOWER API running on port ${port}`);
}
bootstrap();