AI Error Message Helper - MERN Stack Developer Debugging Tool
AI Error Message Helper
AI Error Message Helper is a lightweight, high-utility MERN stack developer tool designed to eliminate the frustration of debugging cryptic compiler errors, runtime exceptions, and convoluted stack traces. Powered by Google Gemini 2.5 Flash, it breaks down complex errors into a structured, beginner-friendly 5-part diagnosis with actionable solutions.
💡 Why This Project?
Debugging is one of the most time-consuming aspects of software development. Beginners often struggle with vague errors like TypeError: Cannot read properties of undefined or ECONNREFUSED. This tool acts as an always-available senior developer mentor, explaining exactly what failed, why it failed, how to fix it, and how to prevent it in the future.
🌟 Key Features
- 5-Part Intelligent Diagnosis:
- What Happened: Clear, plain-English summary avoiding dense academic jargon.
- Possible Causes: 2 to 4 likely root causes ranked by relevance.
- Recommended Fix: Step-by-step numbered instructions with prominent green accents.
- Code Example: Before-and-after comparison showing bugged vs. corrected code.
- Prevention Tip: Best practice advice to prevent recurrence.
- Preloaded 1-Click Samples: Instantly test with real-world scenarios (Cannot read .map, ECONNREFUSED, Mongo Timeout).
- Multi-Language Support: Choose from 15+ technologies including React, Node.js, Express, MongoDB, Python, Java, C++, PHP, and SQL.
- Smart Character Counter: Real-time validation up to 5,000 characters with an instant Clear action.
- Persistent Saved History: Save useful diagnoses to MongoDB Atlas and review them anytime.
- Instant Search & Filtering: Live search past error analyses by technology, error snippet, or explanation.
- Diagnostic Detail Modal: Inspect saved analyses with full original error logs and formatted dates.
- 1-Click Clipboard Copy: Copy either the full diagnosis or individual code example blocks.
- Modern Developer Tool UI: Sleek dark slate theme, high-contrast monospace code blocks, and 100% vanilla CSS with full responsiveness across mobile, tablet, and desktop.
- Zero Key Leakage: Secret Gemini API keys are strictly kept server-side in Node.js environment variables.
🛠️ Architecture & Technologies
- Frontend: React 18 (Functional Components, Hooks), Pure Vanilla CSS (CSS Variables & Media Queries), HTML5, Native Fetch API.
- Backend: Node.js & Express.js REST API with CORS and JSON body parsing.
- Database: MongoDB Atlas with Mongoose 8 schema validation.
- AI Integration: Google Generative AI (gemini-2.5-flash) with structured JSON schema enforcement and automated fallback parsing.
📦 Quick Setup & Installation
- Extract the project ZIP package.
- In server/.env, configure your PORT=5004, MONGO_URI, and GEMINI_API_KEY.
- Open terminal in server and run npm install followed by npm start.
- Open terminal in client and run npm install followed by npm start.
- Open your browser at http://localhost:3000 to start diagnosing errors.
Key Features
- ✓Intelligent 5-part AI error diagnosis (Explanation, Causes, Fix, Example, Prevention)
- ✓Real-world 1-click test samples (Cannot read .map, ECONNREFUSED, Mongo Timeout)
- ✓Multi-technology selector supporting 15+ languages and frameworks
- ✓Persistent error history and bookmarking stored in MongoDB Atlas
- ✓Instant live keyword search and filtering across past error analyses
- ✓Monospace error and code comparison viewer with 1-click clipboard copy
- ✓Real-time character counter and input validation (up to 5,000 characters)
- ✓Modal detail inspector for deep-diving into saved error analyses
- ✓Secure server-side Gemini API key isolation with zero frontend exposure
- ✓Sleek dark-mode developer UI built with 100% vanilla responsive CSS
Screenshots
What's Included
Standard Purchase Price
₹499.00
Unlock this project for ₹0 Free with an Annual Pass!
Get Free with Annual Pass👑Included with Lite (3) & Max (5) Annual Plans • View Annual Plans →
✅ Instant access after payment
✅ Secure UPI payment
✅ Download link valid 24 hours
✅ Full source code & DB included