Overview
LearnStreak is an educational platform that transforms the quiz-taking experience through sophisticated gamification and AI-driven learning optimization. Rather than treating quizzes as simple assessment tools, LearnStreak turns them into engaging, competitive learning experiences with game modes, progression systems, and adaptive difficulty. The platform serves two distinct user groups: instructors who create and manage quiz content for their classes, and students who engage with that content through a gamified learning environment designed to maximize retention and motivation.
Key Features
Instructor Dashboard
Instructors have access to a comprehensive content management system designed specifically for educational quiz creation. The quiz builder supports multiple question types including multiple choice, true/false, fill-in-the-blank, matching, and short answer. Each quiz can be organized into sections with configurable time limits, point values, and difficulty ratings. Instructors manage classes by inviting students, tracking completion rates, reviewing performance analytics, and identifying students who may need additional support. The analytics dashboard provides insights at both the individual and class level, highlighting which questions are most frequently missed and which topics need reinforcement.
- Quiz Builder - Multi-format question creation with rich text editing, image support, and explanation fields
- Class Management - Create classes, invite students via link or code, and organize quizzes into assignments with deadlines
- Performance Analytics - Detailed breakdowns of student performance, question difficulty analysis, and class-wide trends
- Content Library - Reusable question banks organized by topic and difficulty for efficient quiz assembly
Student Dashboard
The student experience centers on a gamified learning hub where quizzes transform into interactive challenges. Students browse available quizzes by subject, difficulty, and game mode, then engage with content through the mode of their choice. Progress tracking shows streaks, experience points, level progression, and upcoming milestones. A personalized recommendation engine suggests quizzes based on past performance, identified weak areas, and spaced repetition schedules.
Game Modes
LearnStreak distinguishes itself through multiple competitive and solo game modes that make repeated practice engaging rather than tedious.
- Arena Mode - Real-time head-to-head competition where students answer the same questions simultaneously, with points awarded for speed and accuracy
- Survival Mode - An endurance challenge where students answer questions in succession with limited lives, increasing difficulty with each wave
- Classic Mode - Traditional quiz-taking with detailed results and explanations after completion
- Sprint Mode - Time-pressured rapid-fire questions testing recall speed under constraints
Gamification System
A comprehensive gamification layer drives engagement and retention. Students earn experience points from every quiz interaction, leveling up to unlock new badges and power-ups. The league system groups students into competitive brackets based on weekly performance, with promotions and relegations each cycle. Badges recognize specific achievements such as perfect scores, long streaks, helping classmates, and mastering difficult topics. Power-ups provide strategic advantages during quizzes, such as extra time, hint reveals, or second-chance options, adding a layer of tactical decision-making.
Spaced Repetition Engine
Behind the gamification surface lies a scientifically grounded spaced repetition algorithm that optimizes when students encounter previously studied material. Questions that a student answers correctly are scheduled for review at increasing intervals, while missed questions reappear more frequently. This approach, based on established memory research, ensures that learning is durable rather than superficial. The system tracks individual question mastery levels and automatically generates personalized review sessions.
Technical Implementation
LearnStreak is built with Next.js 15 using the App Router for a performant, SEO-friendly application. Prisma ORM with PostgreSQL handles the complex relational data model encompassing users, classes, quizzes, questions, attempts, scores, badges, and league standings. Redis serves as the caching layer for leaderboards, session data, and real-time game state during arena mode competitions. The AI components leverage server-side inference for question difficulty calibration and personalized learning path generation.
- Next.js 15 with App Router and React Server Components for data-heavy dashboards
- Prisma ORM with PostgreSQL for complex educational data modeling
- Redis for leaderboard caching, real-time game state, and session management
- AI Integration for adaptive difficulty, question generation suggestions, and learning path optimization
- Tailwind CSS with custom animations for engaging gamification UI elements
Purpose and Context
LearnStreak was developed to address the fundamental challenge that most educational quiz platforms face: sustaining student engagement over time. By borrowing proven mechanics from the gaming industry and combining them with evidence-based learning science like spaced repetition, LearnStreak creates an environment where students genuinely want to practice. The project demonstrates expertise in building complex, stateful applications with real-time competitive features, sophisticated gamification design, and AI-augmented educational technology.



