add backend source code

This commit is contained in:
2026-02-28 15:06:52 +08:00
parent 1bc330e20c
commit 2c37aa9064
67 changed files with 11654 additions and 0 deletions

10
backend/.env.example Normal file
View File

@@ -0,0 +1,10 @@
# 环境变量配置
# 数据库配置 (PostgreSQL)
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/hospital_performance
# JWT 配置
SECRET_KEY=your-secret-key-change-in-production-min-32-characters
# 调试模式
DEBUG=True