How rajbhokare/sih---project works
EduPadhai is a gamified learning platform for students in Classes 6–12. Students sign up or log in, choose a class and subject, complete lesson notes, quizzes, or games, earn XP, and review their progress on a dashboard. The Express app serves EJS pages and mounts authentication and content APIs; those route handlers query MySQL for users, curriculum, and progress. The README documents the learning and gamification capabilities, while frontend implementation details and client-side API calls were not sampled, so those links are shown only where documented.
Main entry points: app.js Express app · content.js Curriculum API · db.js MySQL pool · learn.ejs Class and subject selector
Components 13
Web application
- Express app
app.js - Shared layout
FRONTEND/header.ejs - Landing page
FRONTEND/index.ejs - Info pages
FRONTEND/about.ejs
Learning experience
- Class and subject selector
FRONTEND/learn.ejs - Curriculum API
BACKEND/routes/content.js - Activity viewer
FRONTEND/activity.ejs - Progress dashboard
FRONTEND/dashboard.ejs
Accounts and progress
- Login and signup
FRONTEND/login.ejs - Authentication API
BACKEND/routes/auth.js
Persistence
- MySQL pool
BACKEND/config/db.js - MySQL database
Other components
- Student
Connections 20
- Student → Express app: visits
README.md - Express app → Landing page: renders
app.js - Express app → Login and signup: renders
app.js - Express app → Class and subject selector: renders
app.js - Express app → Progress dashboard: renders
app.js - Express app → Info pages: renders
app.js - Express app → Activity viewer: renders
app.js - Express app → Authentication API: mounts
app.js - Express app → Curriculum API: mounts
app.js - Express app → MySQL pool: queries
app.js - Authentication API → MySQL pool: queries
BACKEND/routes/auth.js - Curriculum API → MySQL pool: queries
BACKEND/routes/content.js - MySQL pool → MySQL database: connects
BACKEND/config/db.js - Student → Login and signup: signs in
README.md - Student → Class and subject selector: selects course
README.md - Class and subject selector → Curriculum API: requests chapters
README.md - Student → Activity viewer: completes activities
README.md - Activity viewer → Curriculum API: updates progress
README.md - Student → Progress dashboard: reviews progress
README.md - Shared layout → Landing page: included by
README.md