LearnSight is an adaptive learning platform that diagnoses student strengths and weaknesses across four fundamentals β Listening, Grasping, Retention, and Application β and generates personalized practice plans with real-time progress reports for students, teachers, and parents.
- π― Adaptive Diagnostic Test β 10β15 questions that dynamically adjust difficulty.
- π§© Skill Mapping β Every response is mapped to fundamentals: listening, grasping, retention, and application.
- π Personalized Reports β Radar charts and simple recommendations for each student.
- π Targeted Practice Queue β Micro-lessons (2β5 problems each) generated for each weak skill.
- π©βπ« Teacher Dashboard β Class overview with exportable reports.
- π¨βπ©βπ§ Parent Access β A simple view of the studentβs progress and support suggestions.
- Next.js (App Router)
- TailwindCSS for rapid UI styling
- Recharts for interactive graphs
- Firebase Auth β Authentication
- Firestore β Database & Adaptive logic
- Render β Hosting
- OpenAI API β For explanations, hints, and micro-lesson generation.
learnsight/
app/
βββ api/
βββ auth/
βββ signup/
βββ route.ts
βββ verify/
βββ route.ts
βββ diagnostic/
βββ attempt/
βββ latest/
βββ route.ts
βββ complete/
βββ route.ts
βββ get-attempt/
βββ route.ts
βββ next-question/
βββ route.ts
βββ start-attempt/
βββ route.ts
βββ submit-answer/
βββ route.ts
βββ paper/
βββ [id]/
βββ route.ts
βββ practice/
βββ generate/
βββ route.ts
βββ session/
βββ [id]/
βββ route.ts
βββ sessions/
βββ route.ts
βββ questions/
βββ [id]/
βββ route.ts
βββ student/
βββ [id]/
βββ dashboard/
βββ route.ts
βββ radar/
βββ route.ts
βββ reports/
βββ route.ts
βββ update/
βββ route.ts
βββ teacher/
βββ [id]/
βββ alerts/
βββ route.ts
βββ dashboard/
βββ route.ts
βββ reports/
βββ route.ts
βββ students/
βββ route.ts
βββ dev-auth/
βββ page.tsx
βββ login/
βββ loading.tsx
βββ page.tsx
βββ parent/
βββ dashboard/
βββ page.tsx
βββ progress/
βββ page.tsx
βββ support/
βββ page.tsx
βββ student/
βββ dashboard/
βββ page.tsx
βββ diagnostic/
βββ page.tsx
βββ practice/
βββ [id]/
βββ page.tsx
βββ page.tsx
βββ profile/
βββ page.tsx
βββ reports/
βββ page.tsx
βββ teacher/
βββ dashboard/
βββ page.tsx
βββ reports/
βββ page.tsx
βββ students/
βββ loading.tsx
βββ page.tsx
βββ globals.css
βββ layout.tsx
βββ page.tsx
components/
βββ layout/
βββ footer.tsx
βββ navbar.tsx
βββ ui/
βββ badge.tsx
βββ button.tsx
βββ card.tsx
βββ input.tsx
βββ label.tsx
βββ loader.tsx
βββ progress.tsx
βββ radio-group.tsx
βββ select.tsx
βββ sheet.tsx
βββ table.tsx
βββ tabs.tsx
βββ textarea.tsx
βββ auth-guard.tsx
βββ dashboard-layout.tsx
βββ practice-card.tsx
βββ radar-chart.tsx
contexts/
βββ user-context.tsx
lib/
βββ auth-context.tsx
βββ auth.ts
βββ auth.ts.new
βββ db-admin.ts
βββ firebase-admin.ts
βββ firebase.ts
βββ teacher-service-client-part2.ts
βββ teacher-service-client.ts
βββ teacher-service.ts
βββ utils.ts
scripts/
βββ create-demo-users.js
βββ seed-demo.ts
types/
βββ index.ts
βββ teacher.ts
utils/
βββ adaptive.ts
βββ practice.ts
βββ scoring.ts
.eslintrc.json
.gitignore
components.json
eslint.config.mjs
firestore.indexes.json
firestore.rules
next.config.ts
package-lock.json
package.json
postcss.config.mjs
README.md
tsconfig.json-
Clone the repository
git clone https://github.com/dipexplorer/learnsight.git cd learnsight -
Install dependencies
npm install
-
Set up environment variables Create a
.env.localfile in the root directory and add your credentials:NEXT_PUBLIC_FIREBASE_API_KEY=your_key NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET= NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID= NEXT_PUBLIC_FIREBASE_APP_ID= NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID= FIREBASE_PROJECT_ID= FIREBASE_CLIENT_EMAIL= FIREBASE_PRIVATE_KEY=
-
Run the development server
npm run dev
Open http://localhost:3000 in your browser. π
Student login β Adaptive Diagnostic β Radar Report β Personalized Practice Plan generated live.
Teacher Dashboard: Compare students (e.g., Ram, Shyam, Sanga).
Parent Dashboard: View simple progress and recommendations.
flowchart TD
A[Student] -->|Diagnostic Test| B[Adaptive Engine]
B -->|Update Skills| C[(Firestore DB)]
C --> D[Reports Service]
D -->|Radar/Insights| E[Student Dashboard]
D --> F[Teacher Dashboard]
D --> G[Parent Dashboard]
B --> H[Practice Generator]
H -->|Tasks + Micro-lessons| E
H -->|LLM optional| I[(OpenAI API)]
- Innovation & Creativity (30%) β Adaptive engine combined with AI-powered micro-lessons.
- Technical Implementation (30%) β Modern stack with Firebase, Next.js, and custom adaptive logic.
- Relevance (20%) β Directly measures and improves fundamental learning skills.
- Clarity (20%) β Clean dashboards and a demo-ready user flow.
Built with β€οΈ by [BrainBots] for [Ai for Education].
This project is licensed under the MIT License. You are free to use, modify, and distribute it with attribution.