init:创建后端项目框架,确保环境的基本运行

This commit is contained in:
moyin
2025-12-08 16:49:24 +08:00
commit 98eab7ed81
17 changed files with 214 additions and 0 deletions

10
src/main.ts Normal file
View File

@@ -0,0 +1,10 @@
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3000);
console.log('Pixel Game Server is running on http://localhost:3000');
}
bootstrap();