mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2024-11-22 03:16:21 +00:00
9 lines
228 B
TypeScript
9 lines
228 B
TypeScript
import { NestFactory } from '@nestjs/core';
|
|
import { AppModule } from './app.module';
|
|
|
|
async function bootstrap() {
|
|
const app = await NestFactory.create(AppModule);
|
|
await app.listen(process.env.PORT ?? 3000);
|
|
}
|
|
bootstrap();
|