pdf-quiz-generator/backend/app
Daniel 18d0a74348 Add deck sharing, star ratings, and shared deck browsing
- Users can share/unshare their flashcard decks (toggle button)
- Shared tab: paginated list of all shared decks sorted by avg rating
- Star rating system (1-5): click stars to rate, updates average live
- Each user can rate each shared deck once (upsert on re-rate)
- Admin can force-unshare any deck (remove from shared listing)
- Shared decks are study-able by anyone (read-only access)
- Owner name displayed on shared deck cards
- Load more button for shared decks (12 per page)
- New DB table: flashcard_deck_ratings (user_id+deck_id unique)
- New column: flashcard_decks.is_shared (default 0)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 23:37:40 +02:00
..
models Add deck sharing, star ratings, and shared deck browsing 2026-04-04 23:37:40 +02:00
routers Add deck sharing, star ratings, and shared deck browsing 2026-04-04 23:37:40 +02:00
schemas Add AI-powered flashcard generation system 2026-04-04 22:59:21 +02:00
services Add AI-powered flashcard generation system 2026-04-04 22:59:21 +02:00
tasks Flashcard ownership, trash, delete cards, fix job status 2026-04-04 23:24:48 +02:00
utils Security hardening, async TeachChat, rate limit UX, unthrottle 2026-04-04 01:09:42 +02:00
__init__.py Initial commit: PDF Quiz Generator app 2026-03-30 20:04:53 +00:00
config.py Add PedsHub landing page with contact form and AI Scribe section 2026-04-04 01:34:44 +02:00
database.py Tag filtering, multi-category, bug fixes, image validation, docs 2026-04-04 22:48:26 +02:00
main.py Add deck sharing, star ratings, and shared deck browsing 2026-04-04 23:37:40 +02:00