Initial commit: HealthCarePregnant project documentation and platform

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
selfrelease
2026-06-18 09:48:05 +08:00
commit eab91174db
301 changed files with 42491 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# PCM 后端环境变量示例(复制为 .env 后填写真实值,勿提交 .env)
PORT=3000
# 鉴权令牌签名密钥(生产必须为强随机值,支持轮换;勿用默认值)
AUTH_SECRET=change-me-to-a-strong-random-secret
# 数据库(PostgreSQL)。
# - 不设置 → 后端使用内存仓储(dev/测试,重启数据丢失)。
# - 设置 → 启用持久化(启动时幂等建表)。本地示例:
# DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:5432/pcm
# 字段级加密密钥(AES-256-GCM32 字节;hex64 或 base64)。
# 生产经 KMS/Secrets 注入并轮换;用于迁移 patient/observation 等敏感字段。
# 生成示例:node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
# FIELD_ENCRYPTION_KEY=
# 大模型 / RAG(按所选服务填写)
LLM_API_KEY=
LLM_API_BASE=
# 注意:密钥类变量仅放入本地 .env,不得提交仓库