A full-stack AI-powered tutoring platform connecting students with personalized AI-driven learning experiences. Built with modern tools for scalability, real-time interaction, and intelligent content delivery.
This platform enables:
- Real-time AI tutoring using Google's Generative AI
- Interactive chat & Q/A sessions
- File uploads & resource sharing
- JWT-based authentication & secure APIs
- Responsive frontend with React & Vite
- Runtime: Node.js
- Framework: Express.js
- Database: MongoDB (via Mongoose)
- Auth: JWT, bcrypt, Google Auth Library
- AI Integration: Google Generative AI (
@google/generative-ai) - Real-time: Socket.io
- File Upload: Multer
- Email: Nodemailer, Resend
- Environment: Dotenv
- Framework: React 18
- Build Tool: Vite
- Routing: React Router DOM
- State Management: React Query
- UI Components: Custom + Lucide React Icons
- Styling: Tailwind CSS + PostCSS
- Notifications: Sonner Toasts
- Markdown Support: React Markdown
Altacade/
├── backend/
│ ├── node_modules/
│ ├── src/
│ │ ├── routes/ # API routes
│ │ ├── middleware/ # Auth, validation, uploads
│ │ ├── services/ # Business logic
│ │ ├── models/ # MongoDB models
│ │ └── utils/ # Helpers, configs
│ ├── uploads/ # Uploaded files
│ ├── server.js # Entry point
│ ├── router.js # Route loader
│ ├── package.json
│ └── .env.example
│
├── frontend/
│ ├── node_modules/
│ ├── src/
│ │ ├── components/ # Reusable UI components
│ │ ├── pages/ # Page-level components
│ │ ├── services/ # API calls, sockets
│ │ ├── data/ # Static data, constants
│ │ ├── App.jsx
│ │ ├── main.jsx
│ │ └── index.css
│ ├── public/
│ ├── vite.config.js
│ ├── package.json
│ └── .env.example
│
├── .gitignore
└── README.md
git clone [https://github.com/Mohan-I/Altacade-LMS.git]
cd Altacade-LMScd backend
npm install
cp .env.example .env
# Add your environment variables (MongoDB URI, JWT secret, Google AI key, etc.)
npm run devcd ../frontend
npm install
cp .env.example .env
npm run devPORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
GOOGLE_AI_API_KEY=your_google_ai_key
EMAIL_USER=your_email
EMAIL_PASS=your_email_password
CLIENT_URL=http://localhost:5173VITE_API_BASE_URL=http://localhost:5000
VITE_SOCKET_URL=http://localhost:5000npm start # Run production server
npm run dev # Run with nodemon (development)npm run dev # Start dev server
npm run build # Build for production
npm run preview # Preview production build✅ User Authentication – Secure signup/login with JWT & bcrypt
✅ AI-Powered Chat – Google Generative AI for intelligent tutoring
✅ Real-time Communication – Socket.io for live Q/A and chat
✅ File Uploads – Support for study materials, images, and documents
✅ Email Notifications – Integrated with Resend & Nodemailer
✅ Markdown Support – For rich content rendering
✅ Responsive UI – Built with Tailwind CSS for all devices
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/auth/login |
User login |
| POST | /api/auth/signup |
User registration |
| POST | /api/chat/ |
AI chat session |
| GET | /api/questions/ |
Fetch Q/A history |
| POST | /api/upload/ |
File upload |
| GET | /api/calls/ |
Live session details |
Backend:
express– Web framework@google/generative-ai– AI integrationsocket.io– Real-time communicationmongoose– MongoDB ODMjsonwebtoken– Authenticationmulter– File handling
Frontend:
react&react-dom– UI libraryreact-query– Data fetchingsocket.io-client– Real-time clienttailwindcss– Stylinglucide-react– Iconssonner– Toasts
- Fork the repository
- Create a feature branch (
git checkout -b feature/awesome-feature) - Commit changes (
git commit -m 'Add awesome feature') - Push to branch (
git push origin feature/awesome-feature) - Open a Pull Request
- Team Lead 1: Full Stack React/Node Developer – Mohan Yadav
- Team Lead 2: Backend Developer & DSA Expert – Kehav Thakur
- Team Lead 3: UI/UX Developer & System Design – Vikas Thakur
- AI Integration – Powered by Google Generative AI
For issues, feature requests, or contributions, please open an issue in the GitHub repository.
Note: This is a development version. Some features may be experimental. Always check the
.env.examplefiles for required configurations.
Built with ❤️ and modern web technologies.