The problem
Existing flashcard apps (Quizlet, Anki) treat studying as a static activity — you flip cards on a schedule, rate yourself, move on. There's no intelligence when you're stuck. Anki's algorithm is powerful but opaque and difficult to set up. Quizlet has no real spaced repetition at all.
Students needed a platform that adapts to their performance, explains concepts in context when they struggle, and doesn't require manual configuration to get started.
Architecture
Server Components fetch data from Supabase and pass it as props to Client Components. AI calls (tutoring, grading, generation) go through Next.js API routes — never from the browser directly. Streaming responses use the SSE pattern via ReadableStream.
Row-level security in Supabase ensures users can only access their own data. The admin dashboard uses a service-role client that bypasses RLS — gated behind a separate httpOnly cookie auth flow, not Supabase Auth.
Want something built like this?
Start a conversation