Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

143 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Node.js MongoDB Groq RAG License

🧠 AI Learning Assistant

AI Learning Assistant is a full-stack MERN application that helps students learn from PDF documents using Retrieval-Augmented Generation (RAG).

The platform allows users to upload study materials and automatically generate AI-powered summaries, flashcards, quizzes, concept explanations, and document-based chat using semantic search and LLMs.


✨ Features

  • 🔐 JWT Authentication
  • 📄 PDF Upload & Processing
  • 🧠 AI Summary Generation
  • 🎴 Flashcard Generation
  • ❓ Quiz Generation
  • 💬 Document Chat
  • 📚 Concept Explanation
  • 🔍 Retrieval-Augmented Generation (RAG)
  • 📈 Learning Progress Dashboard

🏗️ System Architecture

System Architecture


🛠️ Tech Stack

Frontend

  • React 19
  • Vite
  • Tailwind CSS
  • Axios
  • React Router

Backend

  • Node.js
  • Express.js
  • MongoDB Atlas
  • JWT Authentication

AI Stack

  • Groq LLM
  • Google Gemini Embeddings
  • Retrieval-Augmented Generation (RAG)
  • Semantic Search

Deployment

  • Vercel
  • Render
  • MongoDB Atlas

🚀 Getting Started

Clone Repository

git clone https://github.com/haniigupta/ai-learning-assistant.git
cd ai-learning-assistant

Backend

cd backend
npm install
npm run dev

Frontend

cd frontend
npm install
npm run dev

🔑 Environment Variables

Backend

PORT=8000

MONGODB_URI=

JWT_SECRET=

GROQ_API_KEY=

GEMINI_API_KEY=

Frontend

VITE_API_URL=http://localhost:8000/api

📄 License

MIT License

About

AI-powered MERN learning assistant that helps students study smarter using personalized learning paths, document-based Q&A, flashcards, quizzes, and real-time progress tracking.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages