StemPulse
Don’t Just Learn. Level Up.
The problem StemPulse solves
StemPulse bridges the gap between rote learning and career clarity for STEM students.
Currently, students preparing for competitive exams (like JEE or GATE) often solve endless static questions without understanding how those skills translate into a future career. Traditional career counseling is generic and doesn't adapt to a student's actual performance.
StemPulse solves this by:
Adaptive, Infinite Practice: Instead of a static database of questions, the platform uses AI (Groq/Llama-3) to generate unique quizzes on the fly. It adapts to the user's grade - providing standard academic questions for 10th graders while generating JEE/GATE-level Previous Year Questions (PYQs) for senior students and undergraduates.
Data-Driven Career Roadmaps: It doesn't just ask "what do you like?"; it leverages your specific grade level and chosen interest domains to generate a personalized career trajectory, complete with recommended college majors and a step-by-step roadmap.
Gamified Motivation: Studying concepts like "Thermodynamics" or "Calculus" can be dry. We gamified the process with XP, levels, streaks, and leaderboards to maintain consistency and make the "grind" rewarding.
Challenges we ran into
Building a full-stack AI application came with several specific hurdles:
Network Restrictions & MongoDB DNS: We faced a persistent connection failure (None of DNS query names exist) when connecting to MongoDB Atlas. It turned out my university network blocked mongodb+srv DNS lookups, which are standard for modern connection strings.
Solution: We had to deep-dive into the MongoDB driver settings and switch to the "Standard Connection String" format (mongodb://), manually specifying the cluster nodes to bypass the SRV lookup entirely.
Dependency Conflicts on Deployment (React 19 vs. Legacy Libs): During deployment to Vercel, the build kept failing because we used the latest React 19, but my math rendering library (react-latex-next) was stuck on React 18.
Solution: We couldn't downgrade React without breaking other features, so we configured the Vercel build pipeline to use npm install --legacy-peer-deps, forcing the installation to proceed despite the strict peer dependency warnings.
AI Output Hallucinations: Initially, the AI would sometimes return the quiz data with markdown text or conversational filler, which broke the JSON parsing in the frontend.
Solution: We implemented strict "Prompt Engineering" rules, explicitly forbidding markdown and forcing a raw JSON array structure. We also added a fallback mechanism in the backend that serves a "backup quiz" if the AI service times out or errors, ensuring the app never crashes for the user.
Technologies used
