forked from datawhale/whale-town-end
init:创建后端项目框架,确保环境的基本运行
This commit is contained in:
10
src/main.ts
Normal file
10
src/main.ts
Normal 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();
|
||||
Reference in New Issue
Block a user