How arpitpatelup31/sih26087 works
CoopConnect LMS is a role-based learning platform for cooperative societies. Its main learner journey runs from sign-in through course study and quizzes to skill analysis, recommendations, and certificates; trainer and admin portals provide separate management capabilities. The graph also shows the API, persistence, and offline-sync layers. Some page and route implementations were not excerpted, so those connections rely on the README or SOURCE INDEX; uncertain wiring is omitted.
Components 34
Learner and role portals
- App navigation
client/src/App.jsx - Sign-in state
client/src/context/AuthContext.jsx - API client
client/src/services/api.js - Student dashboard
client/src/pages/StudentDashboard.jsx - Course catalog
client/src/pages/CourseCatalogPage.jsx - Course curriculum
client/src/pages/CourseDetailPage.jsx - Interactive lessons
client/src/pages/LessonViewerPage.jsx - Quiz assessment
client/src/pages/QuizPage.jsx - Quiz results
client/src/pages/QuizResultPage.jsx - Skill analysis
client/src/pages/AiSkillAnalysisPage.jsx - Recommendations
client/src/pages/RecommendationsPage.jsx - Certificates
client/src/pages/CertificatesPage.jsx - Trainer portal
client/src/pages/TrainerDashboard.jsx - Admin portal
client/src/pages/AdminDashboard.jsx - Offline sync state
client/src/context/OfflineSyncContext.jsx
API and access control
- Express API server
server/src/server.js - Authentication routes
server/src/routes/authRoutes.js - Course and enrollment routes
server/src/routes/enrollmentRoutes.js - Lesson routes
server/src/routes/lessonRoutes.js - Quiz routes
server/src/routes/quizRoutes.js - AI routes
server/src/routes/aiRoutes.js - Certificate routes
server/src/routes/certificateRoutes.js - Trainer routes
server/src/routes/trainerRoutes.js - Admin routes
server/src/routes/adminRoutes.js - Sync routes
server/src/routes/syncRoutes.js - JWT and role checks
server/src/middleware/auth.js
Learning and management
- Course and enrollment logic
server/src/controllers/courseController.js - Lesson progress logic
server/src/controllers/lessonController.js - Quiz scoring
server/src/controllers/quizController.js - Course authoring
server/src/controllers/trainerController.js - Admin analytics
server/src/controllers/adminController.js - SQLite database
server/src/config/db.js
Intelligence, credentials, sync
- Skill analysis endpoints
server/src/controllers/aiController.js
Other components
- Cooperative learner