项目初始化

This commit is contained in:
Stev_Wang
2026-01-04 17:19:04 +08:00
commit 93aae460af
41 changed files with 6922 additions and 0 deletions

20
backend/.env.development Normal file
View File

@@ -0,0 +1,20 @@
# 服务器配置
PORT=3000
NODE_ENV=development
# 数据库配置
DB_HOST=127.0.0.1
DB_PORT=3306
DB_USERNAME=root
DB_PASSWORD=WANGjx064200
DB_DATABASE=mhxy_web_vue
# JWT密钥
JWT_SECRET=your-secret-key-change-in-production
JWT_EXPIRES_IN=2h
# 游戏服务端代理地址
GAME_SERVER_PROXY_URL=http://127.0.0.1:8080/tool/http
# CORS配置
CORS_ORIGIN=http://localhost:5173