myfreight-assessment/src/main.ts

17 lines
351 B
TypeScript

import { NestFactory } from '@nestjs/core';
import { AppModule } from '@/app.module';
import { openApi } from '@/utils/openApi';
import { setDate } from '@/utils/fakeDate';
setDate('2023-02-14 14:00:00 UTC');
async function bootstrap() {
const app = await NestFactory.create(AppModule);
openApi(app);
await app.listen(3000);
}
bootstrap();