Migrate project from typing_practiceweb

This commit is contained in:
2026-05-14 16:04:14 +08:00
parent dbc5425706
commit 0e87d5546d
225 changed files with 92811 additions and 0 deletions

25
.env.production.example Normal file
View File

@@ -0,0 +1,25 @@
# 生产环境配置示例
# 复制此文件为 .env.production 用于生产环境构建
# Server Configuration
SERVER_PORT=5001
# API 基础地址配置
# 生产环境设置为 Nginx 代理地址(含第一层 /api
# Nginx 配置location /api/ { proxy_pass http://localhost:5001/; }
# 最终请求路径https://d1kt.cn/api/api/xxx → 后端接收 http://localhost:5001/api/xxx
REACT_APP_API_BASE_URL=/api
# Client Configuration
CLIENT_PORT=3001
REACT_APP_CLIENT_URL=https://d1kt.cn
# MongoDB Configuration
MONGODB_URI=mongodb://localhost:27017/typeskill
MONGODB_DB_NAME=typeskill
# JWT Configuration
JWT_SECRET=your_production_jwt_secret_key_change_this
JWT_EXPIRES_IN=24h
SKIP_PREFLIGHT_CHECK=true