-
Pascal Kosak authoredPascal Kosak authored
main.ts 365 B
import { NestFactory } from '@nestjs/core';
import { Group } from '@prisma/client';
declare module 'express' {
interface Request {
group: Group;
}
}
import * as dotenv from 'dotenv';
dotenv.config();
import { AppModule } from './app.module';
(async () => {
const app = await NestFactory.create(AppModule);
await app.listen(3000);
})();