Skip to content

About

EduPilot AI is an intelligent academic operational layer designed for higher education institutions, tailored for Adamas University, Kolkata, West Bengal, India.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

331 Commits

Folders and files

Repository files navigation

Header Banner

Typing SVG

Hackathon Team Platform License


πŸ† Hackathon Submission (VibeForge 1.0)

This project was crafted for VibeForge 1.0 Hackathon by Team Triangle:

Role Name Institution
πŸ‘‘ Team Leader Babin Bid University Student
πŸ› οΈ Team Member Baibhab Adhikari University Student
πŸš€ Team Member Subhajyoti Halder University Student

🐳 Quick Start β€” Docker Compose (Recommended)

The easiest way to run the entire EduPilot AI stack (Frontend, Backend, and Nginx proxy) is using Docker Compose.

# 1. Copy the root environment template
cp .env.example .env
# Fill in your actual secrets in .env

# 2. Build and start all services in detached mode
docker compose up --build -d

🌐 Application: http://localhost (Port 80) πŸ“‘ Backend API Docs: http://localhost/api/docs

To view logs or stop the services:

# View logs
docker compose logs -f

# Stop and remove containers
docker compose down

πŸ” Environment Configuration

EduPilot AI uses separate .env files for Backend and Frontend so each component only sees the variables it needs.

Quick Setup

# 1. Backend environment
cp backend/.env.example backend/.env
#    β†’ Edit backend/.env with your MongoDB URI, API keys, and secrets

# 2. Frontend environment
cp frontend/.env.example frontend/.env
#    β†’ Edit frontend/.env with your backend API URL

Environment Files Overview

File Tracked in Git? Purpose
.env.example βœ… Yes Root-level master reference & Docker Compose template
backend/.env.example βœ… Yes Backend environment template with all FastAPI variables
frontend/.env.example βœ… Yes Frontend environment template (VITE_API_URL only)
.env ❌ No Root secrets for Docker Compose (copy from .env.example)
backend/.env ❌ No Backend secrets (copy from backend/.env.example)
frontend/.env ❌ No Frontend secrets (copy from frontend/.env.example)

⚠️ Never commit .env files β€” they contain real credentials. Only .env.example templates are tracked.

Key Variables

Backend (backend/.env):

Variable Description How to Get
MONGODB_URI MongoDB Atlas connection string MongoDB Atlas
SECRET_KEY 64-char app secret python -c "import secrets; print(secrets.token_hex(32))"
JWT_SECRET_KEY 64-char JWT signing key Same command as above
GROQ_API_KEY_1 Primary Groq LLM key Groq Console
GROQ_API_KEY_2 Backup Groq LLM key Same console
GEMINI_API_KEY Primary Gemini Vision & LLM key Google AI Studio
GEMINI_API_KEY_1..10 Backup Gemini failover keys (1, 2, 3, 4, 5...) for automatic round-robin failover Same console

Frontend (frontend/.env):

Variable Description Example
VITE_API_URL Backend API base URL http://localhost:8000/api/v1 (local) or https://your-app.onrender.com/api/v1 (production)

⚑ Quick Start β€” Running in Browser Locally (Manual)

Follow these quick commands to launch EduPilot AI locally in your browser without Docker:

Step 1: Start Backend API (Terminal 1)

cd backend
python -m venv .venv

# Activate Virtual Environment:
# On Git Bash / Linux / macOS:
source .venv/Scripts/activate

# On Windows PowerShell:
# .venv\Scripts\Activate.ps1

# On Windows Command Prompt (cmd):
# .venv\Scripts\activate.bat

pip install -e .
uvicorn app.main:app --reload --port 8000

🌐 Backend API: http://localhost:8000 (OpenAPI Swagger Docs: http://localhost:8000/api/docs)


Step 2: Start Frontend Web Portal (Terminal 2)

cd frontend
npm install
npm run dev

πŸ’» Web Application Portal: Open http://localhost:5173 (or http://localhost:5174) in your browser.


πŸ”‘ Step 3: Log In with Quick Demo Faculty Credentials

On the login screen, click any of the Quick Demo Faculty Cards to pre-fill credentials instantly (or use password demo@1234):

# Faculty Name Designation & Specialization Institutional Email Demo Password
1 Sunita Devi Assistant Professor β€’ Networks & Security [email protected] demo@1234
2 Rajesh Banerjee Associate Professor β€’ Algorithms & Data Structures [email protected] demo@1234
3 Priya Nair Assistant Professor β€’ Database Systems & Mining [email protected] demo@1234
4 Amitava Chatterjee Professor β€’ AI & Machine Learning [email protected] demo@1234
5 Debashis Ghosh Associate Professor β€’ OS & Cloud Computing [email protected] demo@1234
6 Meenakshi Iyer Assistant Professor β€’ Software Engineering & Web [email protected] demo@1234
7 Arpan Mukherjee Professor β€’ Deep Learning & NLP [email protected] demo@1234
8 Kavita Sharma Assistant Professor β€’ Discrete Math & Structures [email protected] demo@1234
9 Subhashis Roy Associate Professor β€’ Blockchain & Security [email protected] demo@1234
10 Ananya Sengupta Assistant Professor β€’ IoT & Embedded Systems [email protected] demo@1234

πŸ”— Documentation & Quick Links


🌟 Product Identity & Vision

EduPilot AI is an intelligent academic operational layer designed for higher education institutions globally.

It unifies daily teaching workflows, institutional data, AI copilot intelligence, attendance automation, coursework generation, and communication into a single unified platform.

πŸ’‘ Core Principle: AI assists; the teacher remains the final authority.


πŸ”₯ Key System Capabilities

  • πŸ“Š Teacher Command Center: Instant visibility into daily routine, pending attendance, grading tasks, and at-risk students with skeleton loaders and staggered animations.
  • 🎯 Smooth Class/Year Switching: Changing year and class context updates all pages simultaneously with smooth framer-motion transitions, grouped-by-year dropdown, and animated content re-rendering.
  • πŸ“ Interactive Attendance Module: One-click attendance taking with real-time risk alerts for attendance below 75%.
  • πŸ€– Context-Aware EduPilot AI & Smart Model Router: Dual Groq primary LLM execution (llama-3.3-70b-versatile) for ultra-fast standard text chat, automatic Gemini 1.5 Flash Vision routing when images/documents are uploaded (analyzing handwriting, diagrams, charts, and equations), with automatic cross-provider fallbacks.
  • 🎨 Adaptive Brand UI & Custom Favicon: Features the official brand_logo.webp favicon, enlarged sidebar/header logos, and seamless dark/light mode toggle with theme persistence across the entire portal including the login page.
  • πŸšͺ Streamlined Portal Navigation & Logout: Logout instantly clears class session state and redirects to /login with a light/dark themed spinner loading fallback, skipping repeat neural intro animations within the same browser session.
  • πŸ“ˆ Class Analytics: Real-time grade distributions and attendance trends rendered via accessible charts with loading skeletons.
  • πŸŽ“ Teacher Profile Photos: Teachers can upload JPG, PNG, or WebP profile photos up to 5 MB; the photo is stored by the backend and shared across the profile and dashboard.
  • 🎯 Class-Linked Performance: Attendance and assessment analytics are calculated only from records belonging to the selected class; classes without records show a clear empty state.
  • πŸ“„ Professional PDF Downloads (jsPDF): Generate and download professionally branded university PDFs for quizzes, assessment reports, class reports, and daily notes β€” all from the Document Studio.
  • πŸ““ Daily Topic Discussion Notes: Teachers generate structured notes for topics discussed in class, then share to all students via email in one click.
  • πŸ“§ Student University Mail System: Teacher-side communications hub with student email directory, template-based email composer, bulk send to all/selected students, and sent history.
  • πŸ‘₯ 720 Unique Student Dataset: Full B.Tech CSE dataset across 4 academic years and 3 sections per year with complete unique identities and @student.university.edu demo emails.

⚑ Technical Stack Overview

🐍 Backend Architecture

  • Framework: Python 3.11+ & FastAPI 0.115 (Serverless Ready for Vercel Platform)
  • Database: MongoDB / Atlas & PyMongo
  • Security: JWT Access/Refresh tokens + direct bcrypt password hashing
  • AI Engine & Router: Smart Model Router with Groq API (llama-3.3-70b-versatile Dual Primary Keys) & Google Gemini (gemini-1.5-flash Vision)
  • Multimodal Vision Engine: Google Gemini 1.5 Flash Vision Cloud API for real-time visual analysis of handwriting, diagrams, formulas, and documents
  • Vector RAG Engine: HuggingFace all-MiniLM-L6-v2 embeddings & MongoDB vector search / cosine similarity
  • Communications: Integrated Teacher-Student Mail Engine & Gmail SMTP Integration
  • Unified Vercel Platform: Zero CORS complexity single-domain deployment with instant response times

βš›οΈ Frontend Architecture

  • Framework: React 18 + Vite 5 + TypeScript 5
  • Styling: Tailwind CSS (Brand Blue #0060B5 & Green #8CC63F)
  • UI Components: Accessible Lucide React icons & Recharts visualizations
  • Animations: Framer Motion for page transitions, staggered card animations, and smooth class switching
  • PDF Generation: jsPDF + jspdf-autotable for client-side professional PDF creation with institutional branding
  • State & Data: React Context API & Axios HTTP Client

Footer Banner

About

EduPilot AI is an intelligent academic operational layer designed for higher education institutions, tailored for Adamas University, Kolkata, West Bengal, India.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages