Initial commit: KPI Management System Backend

Features:
- FastAPI backend with JWT authentication
- MySQL database with SQLAlchemy ORM
- KPI workflow: draft → pending → approved → evaluation → completed
- Ollama LLM API integration for AI features
- Gitea API integration for version control
- Complete API endpoints for KPI, dashboard, notifications

Tables: KPI_D_* prefix naming convention

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-11 16:20:57 +08:00
commit f810ddc2ea
48 changed files with 4950 additions and 0 deletions

18
app/api/__init__.py Normal file
View File

@@ -0,0 +1,18 @@
"""
API Routers
"""
from app.api.auth import router as auth_router
from app.api.kpi import router as kpi_router
from app.api.dashboard import router as dashboard_router
from app.api.notifications import router as notifications_router
from app.api.llm import router as llm_router
from app.api.gitea import router as gitea_router
__all__ = [
"auth_router",
"kpi_router",
"dashboard_router",
"notifications_router",
"llm_router",
"gitea_router",
]