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 |
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 downEduPilot AI uses separate .env files for Backend and Frontend so each component only sees the variables it needs.
# 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| 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.envfiles β they contain real credentials. Only.env.exampletemplates are tracked.
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) |
Follow these quick commands to launch EduPilot AI locally in your browser without Docker:
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)
cd frontend
npm install
npm run devπ» Web Application Portal: Open
http://localhost:5173(orhttp://localhost:5174) in your browser.
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 |
- π Architecture Specifications β Complete Mermaid Diagrams & System Design
- π Developer Instructions β Step-by-Step API Secrets Guide, Code Principles & Deployment Guide
- βοΈ Backend API Engine β FastAPI Framework & Database Architecture
- π¨ Frontend README β React 18 + Vite Portal Documentation
- π MIT License β Software Licensing Information
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.
- π 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.webpfavicon, 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
/loginwith 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.edudemo emails.
- 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-versatileDual Primary Keys) & Google Gemini (gemini-1.5-flashVision) - 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-v2embeddings & 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
- 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