laobinghu 97f81fd010 On branch main
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
2026-03-27 17:04:59 +08:00

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();