AI Study Companion
An academic learning platform for university students featuring AI-powered study tools: automated lecture summarization, flashcard generation with spaced repetition, quiz generation with scoring analytics, personalized study plans, and collaborative study groups.
Features
PDF Lecture Upload — Upload lecture PDFs; text is extracted and stored for AI processing
AI Lecture Summaries — Generates structured summaries with key topics and important terms
Flashcard Generation — AI creates flashcards from lecture summaries
Spaced Repetition — SM-2 algorithm schedules flashcard reviews based on recall difficulty
Quiz Generation — AI generates 10-question multiple-choice quizzes from lecture content
Quiz Scoring & History — Tracks scores per quiz with per-question correctness and topic tagging
Study Plans — AI-generated personalized study plans based on exam dates and weak areas
Study Groups — Create groups, invite members via email, share flashcards/quizzes/lectures
Sharing — Share flashcard and quiz sets via link (public or private); recipients can duplicate to their library
Analytics Dashboard — Tracks study progress, quiz scores, flashcard review stats
Course Management — Organize lectures by course with exam dates
Notes — Per-lecture personal notes
Comments — Discussion threads on shared content
Tech Stack
Backend:
Node.js + Express + TypeScript
Prisma ORM (PostgreSQL)
Groq API (LLaMA 3.3 70B) — AI generation (summaries, flashcards, quizzes, study plans)
Supabase Storage — PDF file storage
Nodemailer — Email invitations (Gmail SMTP)
JWT (jsonwebtoken) — Authentication
bcrypt — Password hashing
multer — File upload handling
pdf-parse — PDF text extraction
express-rate-limit — API rate limiting
Sentry — Error tracking
Frontend:
React 18 + TypeScript
Vite — Build tool and dev server
Tailwind CSS — Styling
React Router v6 — Client-side routing
TanStack React Query — Server state management
Zustand — Client state management
Axios — HTTP client
Lucide React — Icons