Commit Graph
3 Commits
Author SHA1 Message Date
bwstudio f28c413351 feat(api): add joke generate endpoint with AI 2026-06-02 20:00:41 +08:00
bwstudioandClaude Opus 4.7 c3a8e3e311 feat(api): implement FastAPI routes with JWT authentication
- jokes.py: Public joke listing, detail, and random endpoints
- categories.py: Type and crowd listing endpoints
- auth.py: Login endpoint with JWT token generation
- admin.py: Full CRUD for jokes, types, crowds with JWT protection
- Fix request body schemas to use Create DTOs instead of Response models

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-21 21:02:59 +08:00
bwstudio 57245cc288 feat(api): project initialization 2026-05-21 20:39:14 +08:00