Artteiv's picture
feat: add menu item and module and migrations
d9eec61
raw
history blame
320 Bytes
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module.js';
import { ValidationPipe } from '@nestjs/common';
async function bootstrap() {
const app = await NestFactory.create(AppModule, { cors: true });
app.useGlobalPipes(new ValidationPipe());
await app.listen(3000);
}
bootstrap();