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+MongooseRedisโ Session management and cachingGoogle Gemini APIโ Core AI capabilitiesbcrypt,jsonwebtoken,cookie-parserโ Secure authenticationcloudinaryโ Media handlingaxios,cors,dotenv,validator
React,Redux Toolkit,React RouterTailwind CSS,DaisyUIMonaco Editorโ Code editing interfaceReact Hook Form,ZodLucide 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
/airoute - 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-PLATFORMcd 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:6379npm 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.