dramaling-vocab-learning/frontend/lib
鄭沛軒 e8ab42dfd7 feat: 實現 /api/flashcards/due API 完整功能
 新增功能
- 建立 FlashcardReview 實體與資料庫表格
- 實現間隔重複算法 (2^n 天公式)
- 支援信心度評估系統 (0=答錯, 1-2=答對)
- 完整的複習統計與進度追蹤

🔧 技術實作
- FlashcardReviewRepository: 優化查詢避免 SQLite APPLY 限制
- ReviewService: 業務邏輯與算法實現
- FlashcardsController: 新增 GET /due 和 POST /{id}/review 端點
- 資料庫遷移與索引優化

📊 API 功能
- 支援查詢參數: limit, includeToday, includeOverdue, favoritesOnly
- 返回格式完全兼容前端 api_seeds.json 結構
- 包含完整 reviewInfo 複習狀態信息
- API 已測試確認在 http://localhost:5000 正常運作

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-06 20:49:40 +08:00
..
api feat: 完成前端大規模架構重組與術語統一 2025-10-01 16:15:17 +08:00
config refactor: 重構 review 組件架構 + 修正 API 端口配置 2025-10-05 04:43:48 +08:00
data feat: 實現 /api/flashcards/due API 完整功能 2025-10-06 20:49:40 +08:00
services feat: 重構並整合 review-simple 組件系統 2025-10-04 23:44:31 +08:00
types/word feat: 重構並整合 review-simple 組件系統 2025-10-04 23:44:31 +08:00
utils docs: 新增 Generate 頁面重構分析報告與複習功能流程圖 2025-10-06 16:56:37 +08:00