This project was originally developed in the company GitHub repository:
π TEJ-Fellowship/pbl β skillUp-AI
π SkillUp-AI β AI-Powered Learning Assistant
SkillUp-AI is an interactive learning platform that helps users master programming by chatting with an AI tutor, generating quizzes, and receiving personalized guidance based on their chosen programming language.
This project was built as part of the TEJ Fellowship (2025) and follows modern full-stack standards using React, Node.js, Express, MongoDB, and Gemini API.
π Features
π§ AI Learning Assistant
Users can chat with an AI tutor in real time.
Explanations, debugging help, and programming guidance.
π Select Preferred Programming Language
Users choose their desired programming language (JavaScript, Python, C++, etc.)
AI responses adapt to the selected language.
π Auto-Generated Quizzes
Generate multiple-choice questions based on conversation context.
Helps reinforce learning.
π€ User Authentication
Login / Signup
JWT-based authentication
Secure password hashing
π User Progress Tracking
Stores user history and quiz data
Personalized recommendations (future scope)
π οΈ Tech Stack
- React.js (v18+) - UI library
- React Router - Client-side routing
- Axios - HTTP client for API requests
- Tailwind CSS - Styling
- React Context API - State management
- Node.js (v16+) - Runtime environment
- Express.js - Web application framework
- MongoDB - NoSQL database
- Mongoose - MongoDB object modeling
- JWT - Authentication and authorization
- Bcrypt.js - Password hashing
- Gemini API
ποΈ System Architecture
Frontend (React)
β Axios
Backend (Node + Express)
β
MongoDB (Database)
β
Gemini API (AI Responses + Quiz Generation)
βοΈ Installation & Setup Guide
- Node.js (v16 or higher)
- MongoDB (v4.4 or higher)
- npm package manager
- Git
π 1. Clone the Repository
git clone https://github.com/me-Sushil/SkillUp-AI.git
cd SkillUp-AI
π 2. Install dependencies:
π Setup Frontend
Go to the frontend folder:
cd frontend
npm install
π Setup Backend
Go to the backend folder:
cd frontend
npm install
β
Create .env file
- Create a .env file inside frontend folder:
VITE_LOGIN_URL="http://localhost:3001/api/auth/login"
VITE_REGISTER_URL="http://localhost:3001/api/auth/register"
VITE_VALIDATE_TOKEN_URL="http://localhost:3001/api/auth/validate-token"
VITE_AI_URL="http://localhost:3001/api/chat/chats"
VITE_USER_CHATS="http://localhost:3001/api/user/chats"
VITE_USER_QUIZE="http://localhost:3001/api/user/quiz"
Frontend runs on:
http://localhost:5173
Start frontend:
npm run dev
- Create a .env file inside backend folder:
MONGODB_URL=Your Mongodb URL , like ("mongodb+srv://skillup-ai:skillup-ai@cluster0.4hhfkup.mongodb.net/skillUp-AI?retryWrites=true&w=majority&skillUpAI=Cluster0")
PORT=3001
JWT_SECRET="!2djS%$@LJLrd13*6%^&*nmNBdnGHFGD!@#7VcxcsWERTyu65#$%vcdfWER"
GEMINI_API_KEY=Gemini API key , Like ("AIzaSyBVKEdOgEIx1RMMpnW-3Qu3yQxewCuEYcY")
Backend runs on:
http://localhost:3001
Start backend:
npm run dev
π§© Common Errors & Solutions
β MongoDB connection failed
β Check your MONGO_URI
β Ensure IP access is allowed in MongoDB Atlas
β GEMINI API not responding
β Check your GEMINI_API_KEY
β Ensure billing is active
CONNECT WITH ME :
LinkedIn : https://www.linkedin.com/in/me-sushil/