mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
11 lines
307 B
TypeScript
11 lines
307 B
TypeScript
import { NestFactory } from '@nestjs/core';
|
|
import { ValidationPipe } from '@nestjs/common';
|
|
import { AppModule } from './app.module';
|
|
|
|
async function bootstrap() {
|
|
const app = await NestFactory.create(AppModule);
|
|
app.useGlobalPipes(new ValidationPipe());
|
|
await app.listen(3000);
|
|
}
|
|
bootstrap();
|