
AI Study Mentor
Personalized Study Ecosystem
AI Study Mentor is a premium, interactive study platform that provides learners with custom AI-generated roadmaps, a context-aware AI mentor chatbot, goal and milestone tracking, and visual analytics dashboards.
Quick Facts

THE
OVERVIEW
AI Study Mentor streamlines self-studying by breaking down complex topics into atomic, trackable milestones. With its dark/light monochrome theme, integrated chat assistance, and structured roadmaps, the platform ensures students stay guided and motivated.
Built with a Next.js 16 frontend and an Express v5 backend, the platform features decentralized session verification via remote JWKS authentication checks, native MongoDB driver integration, and type-safe schema execution. Google Gemini Flash API powers the structured roadmap generation and context-aware chatbot support.
TECH
HIGHLIGHTS
Key decisions behind this project.
- check_circleBuilt full-stack platform using Next.js 16 App Router and Express v5 backend
- check_circleImplemented decentralized authentication validating Better-Auth JWT sessions using remote JWKS
- check_circleIntegrated Google Gemini Flash API using @google/genai SDK with structured output enforcement
- check_circleEngineered context-aware chat systems that payload active goal context and dialogue history
- check_circleDesigned dynamic analytics dashboards with Recharts to map milestones and study targets
Project Type
AI SDK
Auth Provider
Database
Server Engine
Features
- ✔Engineered study plan generator that forces Gemini to return strict, type-safe JSON arrays matching study schema constraints.
- ✔Developed context-aware chat interface targeting specific goal contexts and up to 20 messages of historical dialogue.
- ✔Built interactive dashboards using Recharts that dynamically scale to fit containers on desktop and mobile platforms.
- ✔Implemented secure email/password and Google social OAuth registration flows using Better-Auth.
- ✔Designed a sleek monochrome dark/light system featuring real-time cookie-guarded Tawk.to live support widgets.
- ✔Integrated automated Nodemailer template dispatchers for user query confirmations and admin alerts.
- ✔Created dynamic public roadmap catalogs with search filtering and debounced input controls.
Key Challenges Solved
- •Integrating Better-Auth with custom Express routes using jose JWKS cryptographic validation
- •Enforcing strict JSON return schemas from LLM requests via Gemini's responseSchema config
- •Protecting private client-side dashboard routes utilizing Next.js 16 server-side proxy boundary systems
- •Optimizing database and server boot times via asynchronous parallel collection initialization
Future Updates
- •Dynamic custom roadmap creation from open text prompts using advanced Gemini queries
- •Gamified system with daily study streak metrics and badge achievements
- •Collaborative peer-to-peer virtual study rooms using real-time WebSockets
- •Redis caching integration for caching pre-seeded roadmaps and analytics data
Packages Used
INTERFACE
SHOWCASE




