AlgoNest is an AI-integrated coding platform built to revolutionize the way students and developers learn Data Structures and Algorithms (DSA). Acting as an intelligent tutor, AlgoNest provides step-by-step guidance, not just answers—promoting deep conceptual understanding and long-term skill development.
AlgoNest serves as your personal DSA tutor, assisting you in mastering coding problems through a rich suite of AI-driven features:
- 🧠 Hint Provision – Step-by-step hints to encourage problem-solving.
- 🔍 Code Review – Intelligent debugging with clear suggestions.
- 🧮 Optimal Solution Guidance – Thorough explanations with algorithmic intuition.
- 📊 Complexity Analysis – Insight into time/space trade-offs.
- 🧭 Approach Suggestion – From brute force to optimized techniques.
- 🧪 Test Case Assistance – Helps create additional test cases for edge coverage.
💡 AlgoNest is focused on learning, intuition building, and best practices—not spoon-feeding solutions.
Node.js
,Express.js
,MongoDB
+Mongoose
Redis
– Session management and cachingGoogle Gemini API
– Core AI capabilitiesbcrypt
,jsonwebtoken
,cookie-parser
– Secure authenticationcloudinary
– Media handlingaxios
,cors
,dotenv
,validator
React
,Redux Toolkit
,React Router
Tailwind CSS
,DaisyUI
Monaco Editor
– Code editing interfaceReact Hook Form
,Zod
Lucide React
– Icon libraryaxios
– Backend communication
[React Frontend]
↳ User Interaction, Code Editor, AI Chat Interface
[Node.js/Express Backend]
↳ API Logic, AI Prompting, Session Management
[MongoDB + Redis]
↳ Persistent Storage + In-Memory Caching
[Google Gemini]
↳ Intelligent DSA Tutoring via Prompt Engineering
- Signup/Login
- JWT-based session handling
- Secure credentials with bcrypt
- Create & fetch coding problems
- Backend routes:
/problem
- Submit code solutions
- Backend routes:
/submission
- Context-aware AI responses (hints, reviews, optimal code)
- Uses Gemini via
/ai
route - Prompts include:
- Problem description
- Test cases
- Starter code
- User query
- Strict role-based instruction for AI
- Upload and access video content
- Backend routes:
/video
User
– Login/auth detailsProblem
– Title, description, starter code, test casesSubmission
– User solutionsSolutionVideo
– Video metadata
Route | Description |
---|---|
/user |
Authentication (Login/Signup) |
/problem |
Create/Fetch problems |
/submission |
Handle code submissions |
/ai |
Gemini-powered doubt solving |
/video |
Video upload & access |
- Node.js
- MongoDB Community Server
- Redis
- Google AI Studio (for Gemini API key)
- Cloudinary account
git clone https://github.com/git-sumitchaudhary/AlgoNest-AI-POWERED-CODING-PLATFORM.git
cd AlgoNest-AI-POWERED-CODING-PLATFORM
cd backend
npm install
📄 Create a .env
file:
PORT=5000
MONGO_URL=mongodb://localhost:27017/algonest
JWT_SECRET=your_jwt_secret_key
GEMINI_KEY=your_google_gemini_api_key
CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secret
REDIS_URL=redis://localhost:6379
npm start
🟢 Runs at: http://localhost:5000
cd ../frontend
npm install
npm run dev
🟢 Runs at: http://localhost:5173
Once both servers are up:
🔗 Visit: http://localhost:5173
Start solving problems, interact with the AI, and boost your DSA skills 🚀
Interested in contributing to AlgoNest? Feel free to open issues, suggest features, or submit pull requests!
This project is licensed under the MIT License.