# ai-learning-server **Repository Path**: safd/ai-learning-server ## Basic Information - **Project Name**: ai-learning-server - **Description**: 智能学习系统 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-11 - **Last Updated**: 2025-06-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Question Server API 基于 FastAPI 构建的问题服务器 API。 ## 功能特性 - FastAPI 框架 - SQLAlchemy ORM - Pydantic 数据验证 - JWT 认证 - CORS 支持 - 自动 API 文档 ## 安装 1. 创建虚拟环境: ```bash python -m venv venv source venv/bin/activate # Linux/Mac # 或 .\venv\Scripts\activate # Windows ``` 2. 安装依赖: ```bash pip install -r requirements.txt ``` ## 运行 ```bash uvicorn app.main:app --reload ``` 访问 http://localhost:8000/docs 查看 API 文档。 ## 项目结构 ``` . ├── app/ │ ├── api/ │ │ └── v1/ │ │ ├── endpoints/ │ │ └── api.py │ ├── core/ │ │ └── config.py │ ├── db/ │ │ └── session.py │ ├── models/ │ │ └── base.py │ └── main.py ├── requirements.txt └── README.md ```