Initial commit Changes to be committed: new file: .gitignore new file: .prettierrc new file: LICENSE new file: README.md new file: eslint.config.mjs new file: nest-cli.json new file: package.json new file: pnpm-lock.yaml new file: src/app.controller.spec.ts new file: src/app.controller.ts new file: src/app.module.ts new file: src/app.service.ts new file: src/main.ts new file: test/app.e2e-spec.ts new file: test/jest-e2e.json new file: tsconfig.build.json new file: tsconfig.json
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();
|