I'm Kashif, and for the last few months I've been building StudyCove , an app that turns lecture PDFs into flashcards, practice quizzes, timed mock exams, mind maps and a daily study plan.
This isn't a launch post. It's the handful of things that bit me while building it, in case they save you a weekend.
The stack
Next.js 16 + React 19 (App Router, Server Actions)
Supabase for Postgres, auth (Google OAuth) and row-level security
unpdf to pull text out of uploaded PDFs
ts-fsrs for spaced-repetition scheduling
Mind Elixir for the editable mind maps
Cloud Run for the app, Cloudflare in front
1. Don't write your own spaced-repetition scheduler
My first version used a hand-rolled SM-2 variant. It "worked", but intervals drifted in weird ways once people skipped a few days. Switching to FSRS via ts-fsrs fixed it, and the library handles the awkward cases (lapses, relearning, overdue cards) better than I would have.…