BrainLoop is an interactive, AI-powered educational platform that integrates video-based learning, AR labs, quizzes, and a smart chatbot to enhance the personalized learning experience for students.
-
π Secure Authentication
- Google, Email/Password, or Barcode-based login
- Role-based access control using Student IDs (e.g.,
8918
,8946
, etc.)
-
π Course Management
- View courses, mark modules as completed
- Admins (e.g.,
8918
) can create, edit, and delete courses
-
π₯ Video Learning
- Embedded YouTube/MP4 videos (not redirected)
- Progress tracking for each student
-
π¬ Real-time Doubt Resolution
- Chat-based doubt asking per module
- Doubts can be pinned and replied to in real time
- Student-to-student chat (e.g.,
8918
and8946
)
-
π§ͺ Interactive AR Labs
- Redirects to real physics/math lab simulations from:
-
π³ Payments
- Stripe (Test Mode) integration for course purchases
- Alternative Razorpay-like options considered
-
π€ AI Chatbot
- Persistent chatbot available on all pages
- Positioned on the bottom-right of the screen
-
π Feedback System
- Students can submit feedback per course/module
- Feedback is linked to student ID and timestamped
-
π€ Profile Management
- Shows name, email, student ID
-
π 3D Spline Background
- Interactive background using Spline3D behind the landing message
- Frontend: Next.js, Tailwind CSS, TypeScript
- Backend: Firebase (Firestore, Realtime DB, Auth)
- 3D Graphics: Spline
- Payment Gateway: Stripe (Test Mode)
- Authentication: Firebase Auth + custom student ID logic
-
Clone the Repo
git clone https://github.com/your-org/brainloop.git cd brainloop
-
Install Dependencies
npm install
-
Add Firebase Config Create a
.env.local
and add:NEXT_PUBLIC_FIREBASE_API_KEY=your_api_key NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_auth_domain NEXT_PUBLIC_FIREBASE_DATABASE_URL=your_db_url NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_bucket NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id
-
Run the Dev Server
npm run dev
/src
/app β Pages and routes
/components β Reusable UI components
/contexts β Auth & global state
/data β Mock course/video data
/services β Firebase/Firestore/Stripe logic
Only the following Student IDs can perform admin actions:
8918
β Master Admin8946
,8904
,STRITH23170
β Custom access (if configured)
Feature | Screenshot |
---|---|
Login Page | β Google & Email Auth |
AR Labs | β Interactive buttons to PhET, Falstad, etc. |
Course Modules | β Video progress + feedback system |
Chatbot | β Visible across all pages, fixed bottom-right |
Admin Panel | β Add/Edit/Delete courses |
Use the following test card to simulate payments:
Card: 4242 4242 4242 4242
Exp: Any future date
CVV: 123
MIT License. Free for educational and non-commercial use.
"Unlock Your Learning Potential with BrainLoop" π