Files
pcpuma_unam_api/src/main.ts
T
xXpuma99Xx 3c8dd17089 services
2022-04-04 20:02:54 -05:00

11 lines
320 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({ whitelist: true }));
await app.listen(3000);
}
bootstrap();