Inspiration
Education in India is deeply competitive — millions of students prepare for exams like JEE, NEET, UPSC, and board exams with limited access to personalized guidance. Most students rely on static notes and generic practice sets that don't adapt to their individual strengths and weaknesses. We wanted to build something smarter — a platform that acts like a personal study companion, or in Hindi, a "Saathi" (friend/companion).
What it does
Edu-Saathi is an AI-powered adaptive learning platform built for students preparing for competitive exams. It: Generates personalized MCQ quizzes based on subject and difficulty Tracks performance over time with accuracy metrics and activity charts Uses AI recommendations to suggest what topics to study next Provides an Ask AI tool — upload a PDF or paste notes to get an instant summary and important practice questions Supports both Student and Admin roles for content management
How we built it
We started by designing the core architecture around Next.js 15 App Router, which gave us clean route-based separation between the student dashboard, admin panel, and public landing page.
The build process followed three layers:
- Authentication & Data Layer We used Firebase Auth for secure login and Cloud Firestore for real-time data sync. Each student's quiz history, accuracy scores, and profile are stored as structured Firestore documents, enabling instant reads and writes.
- AI Integration We connected Google Gemini 2.5 Flash-Lite via server-side Next.js API routes. All AI calls are made server-side to protect the API key and handle rate limiting. The model returns structured JSON, which we parse directly into quiz cards, summaries, and recommendation tiles.
- Ask AI Pipeline For the PDF feature, the file is sent to a dedicated /api/ask-ai route, parsed with pdf-parse, then the extracted text is passed to Gemini to generate a summary and important questions:
- Performance Tracking Quiz results are saved after every session. Charts are rendered with Recharts, visualizing weekly activity and subject-wise performance trends.
Challenges we ran into
PDF Parsing on the Server — pdf-parse has a conflict with the browser's DOMMatrix API when run in Next.js server routes. Solved it by isolating the parser in a dedicated API route with proper Node.js-only imports. Gemini Quota Limits — The free tier of Gemini API has rate limits. We implemented 24-hour response caching so repeated requests for the same content don't consume quota. Real-time Profile Sync — Keeping the profile photo in sync across Firebase Auth, Firestore, and the UI required careful state management in the AuthContext. Mobile Responsiveness — The dashboard layout with a fixed sidebar needed a complete rework with a hamburger toggle, backdrop overlay, and responsive breakpoints for mobile users.
Accomplishments that we're proud of
End-to-end AI integration — From a raw PDF upload to a structured summary + practice questions in seconds, entirely powered by Gemini. Role-based platform — A single codebase supports both students and admins with completely separate dashboards, access controls, and workflows. Real-time performance tracking — Live Firestore listeners update charts and stats the moment a quiz is submitted, with no page refresh needed. Ask AI tool — Students can upload any study material and instantly receive a concise summary and important questions — like having a tutor on demand. Fully responsive — The entire platform, from landing page to admin panel, works seamlessly on mobile, tablet, and desktop. Graceful AI fallbacks — Built a 24-hour caching layer so the app never breaks even when Gemini quota is hit.
What we learned
How to build role-based access control (student vs. admin) using Firebase Auth custom claims Integrating Google Gemini for structured JSON generation (not just free-form text) Designing adaptive UI layouts that work across mobile, tablet, and desktop Managing async state in React with real-time Firestore listeners
What's next for EduSaathi-360
Exam-Specific Modes — Dedicated prep tracks for JEE, NEET, UPSC, and Class 10/12 boards with curated syllabus-aligned question banks. Live Doubt Clearing — Type or speak any question and get an instant step-by-step AI explanation Peer Challenges — Challenge friends to timed quizzes and compete on a live leaderboard Teacher Portal — Educators can assign quizzes, monitor class-wide performance, and upload custom content.
Built With
- auth
- cssfirebase
- firestoregoogle
- gemini
- next.js-15-(app-router
- typescript)tailwind

Log in or sign up for Devpost to join the conversation.