Files
app_03_pregnancy/backend/.env.example
Karlcarlo 409dabafb5 feat: 初始化孕育无忧全栈项目基础代码结构
完成项目初始搭建,包含后端FastAPI+MongoDB服务、前端React+Vite项目的完整基础结构,添加各类配置文件与依赖清单,涵盖核心业务初始框架。
2026-05-21 00:46:48 +08:00

30 lines
565 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.
# MongoDB
MONGODB_URL=mongodb://localhost:27017
MONGODB_DB_NAME=pregnancy_report
# JWT
JWT_SECRET_KEY=your-secret-key-change-this
JWT_ALGORITHM=HS256
JWT_EXPIRE_MINUTES=10080
# WeChat Mini Program
WECHAT_APP_ID=your-wechat-app-id
WECHAT_APP_SECRET=your-wechat-app-secret
# Claude AI
ANTHROPIC_API_KEY=your-anthropic-api-key
ANTHROPIC_BASE_URL=
AI_MODEL_NAME=claude-sonnet-4-20250514
# CORS(多个域名逗号分隔,* 表示允许所有)
CORS_ORIGINS=*
# File Upload
UPLOAD_DIR=./uploads
MAX_FILE_SIZE=10485760
# Server
HOST=0.0.0.0
PORT=8000
DEBUG=true