Files
fitness-coach/backend/.env.example
wm b3b58e66fb feat: init fitness-coach (backend + miniprogram)
- backend: NestJS service with exercise/plan data
- miniprogram: WeChat mini program client
- exclude node_modules, dist, runtime data-store, local env
2026-07-22 00:35:40 +08:00

17 lines
948 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 后端服务端口
PORT=3000
# 前端(微信小程序)请求的基础地址,用于生成可被小程序访问的媒体 URL。
# 开发时填写你本机局域网 IP例如 http://192.168.1.10:3000
# 生产时填写你的域名(必须 HTTPS且已在小程序后台配置 request 合法域名)
API_BASE_URL=http://localhost:3000
# 媒体资源基础地址GIF / 图片)。默认直接指向源数据集在 jsDelivr 的 CDN
# 无需本地下载媒体文件即可在开发环境加载动作演示。
# 注意微信小程序要求图片域名在「request/downloadFile 合法域名」中白名单,
# 开发阶段可在开发者工具勾选「不校验合法域名」;正式发布需替换为自有 CDN 并配置白名单。
MEDIA_BASE_URL=https://cdn.jsdelivr.net/gh/hasaneyldrm/exercises-dataset@main
# 是否允许跨域(小程序走 wx.request 通常不需要,但方便 Web 调试 / Postman
CORS_ENABLED=true