chore: initial import to Nexus_Edu
This commit is contained in:
15
backend/.env.example
Normal file
15
backend/.env.example
Normal file
@@ -0,0 +1,15 @@
|
||||
# 环境变量配置
|
||||
|
||||
# 数据库连接
|
||||
DATABASE_URL="mysql://root:wx1998WX@mysql.eazygame.cn:13002/edunexus"
|
||||
|
||||
# JWT密钥
|
||||
JWT_SECRET="your-secret-key-change-in-production"
|
||||
JWT_EXPIRES_IN="7d"
|
||||
|
||||
# 服务器配置
|
||||
PORT=3001
|
||||
NODE_ENV="development"
|
||||
|
||||
# CORS配置
|
||||
CORS_ORIGIN="http://localhost:3000"
|
||||
Reference in New Issue
Block a user