diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-12-07 18:14:02 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-12-07 18:14:02 +0900 |
| commit | 0b0e7e802fcb50652c3e9912363d996a039d56d8 (patch) | |
| tree | a3fc98441f638159ddedf98c637ed6045c2de382 /docs | |
| parent | 2ca8bfadd49fb8e5f45b6324cff13c35a2858bb7 (diff) | |
| download | kioku-0b0e7e802fcb50652c3e9912363d996a039d56d8.tar.gz kioku-0b0e7e802fcb50652c3e9912363d996a039d56d8.tar.zst kioku-0b0e7e802fcb50652c3e9912363d996a039d56d8.zip | |
feat(server): add card CRUD endpoints
Implement card management API with create, read, update, and delete
operations. Cards are nested under decks (/api/decks/:deckId/cards)
with deck ownership verification on all operations.
- Add Card interface and CardRepository to repository types
- Create cardRepository with CRUD operations and soft delete
- Add card routes with Zod validation and auth middleware
- Include 29 tests covering all endpoints and error cases
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/dev/roadmap.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/dev/roadmap.md b/docs/dev/roadmap.md index 78325db..4c2ccba 100644 --- a/docs/dev/roadmap.md +++ b/docs/dev/roadmap.md @@ -99,8 +99,8 @@ Smaller features first to enable early MVP validation. **Goal**: Create, edit, and delete cards ### Server API -- [ ] Card CRUD endpoints (GET, POST, PUT, DELETE) -- [ ] Add tests +- [x] Card CRUD endpoints (GET, POST, PUT, DELETE) +- [x] Add tests ### Frontend - [ ] Card list view (in deck detail page) |
