Skip to content

Latest commit

Β 

History

70 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AI Powered

🧠 AI Learning Assistant

Transform your static documents into interactive, AI-driven learning experiences!


🌟 Introduction

AI Learning Assistant is a modern, full-stack MERN web application designed to supercharge your study sessions. By uploading PDF documents, the app leverages the power of Google's Gemini AI to instantly generate interactive quizzes, flashcards, document summaries, and an intelligent chat interface to help you understand complex concepts faster than ever before.

✨ Features & Functionality

  • πŸ“„ Smart Document Management: Upload and organize your study materials (PDFs) securely.
  • πŸ€– AI Chat Interface: "Talk" directly to your documents. Ask questions and get instant AI explanations.
  • 🎯 Auto-Generated Quizzes: Test your knowledge! The AI reads your document and generates personalized multiple-choice quizzes. Re-attempt them anytime and track your historical progress!
  • πŸ“‡ Interactive Flashcards: Memorize key concepts effortlessly with auto-generated, reviewable flashcards.
  • πŸ“Š Progress Dashboard: Track your learning journey with a beautiful, responsive dashboard showing your total documents, quizzes, and recent activities.
  • πŸ“± Seamlessly Responsive: A sleek, glassy UI built with TailwindCSS that looks and feels like a native premium app on any device size.

πŸ“Έ Screenshots

  • Dashboard View: Dashboard Screenshot
  • Document Chat & Viewer: Document Chat Screenshot
  • Quiz Results & History: Quiz Results Screenshot

πŸš€ Local Setup & Installation

Follow these steps to run the project locally on your machine:

1. Clone the repository

git clone <your-repo-url>
cd Ai-power-study_Assistent

2. Setup the Backend

cd backend
npm install

Environment Variables (CRITICAL): To run the backend, you'll need the proper .env configuration (containing MongoDB, Gemini API, and Cloudinary keys). πŸ‘‰ Click here to get the .env configuration file

Copy the contents from the link above and place them in a newly created .env file inside the backend directory.

Start the backend server:

npm run dev
# The server will start on http://localhost:8000

3. Setup the Frontend

Open a new terminal window:

cd Ai-learn-assistant
npm install
npm run dev

The application will launch in your browser! (Usually on http://localhost:5173)

πŸ“ Folder Structure

Ai-power-study_Assistent/
β”œβ”€β”€ Ai-learn-assistant/      # Frontend (Vite + React)
β”‚   β”œβ”€β”€ public/              # Static assets
β”‚   └── src/                 # React source code
β”‚       β”œβ”€β”€ components/      # Reusable UI (Auth, Chat, Flashcards, Layout, Quizzes)
β”‚       β”œβ”€β”€ context/         # React Context (AuthContext)
β”‚       β”œβ”€β”€ pages/           # Route views (Dashboard, Document, Quizzes)
β”‚       └── services/        # API communication (Axios)
β”‚
└── backend/                 # Backend (Node.js + Express)
    β”œβ”€β”€ config/              # Database connection
    β”œβ”€β”€ controllers/         # Route logic (AI, Auth, Documents, Quizzes)
    β”œβ”€β”€ middleware/          # JWT Auth & Error handling
    β”œβ”€β”€ models/              # MongoDB Schemas
    └── routes/              # Express API Routes

Built with ❀️ using MongoDB, Express, React, Node.js & Gemini AI.

Thank You To My partners -Arkan & Sandip πŸ€—

About

πŸ“˜ Repository Description Ai Power-Study_Assistent is an intelligent study companion designed to help learners prepare efficiently for exams, interviews, and skill-building tasks. It leverages AI to provide

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages