How maheshpalakonda/lms-ci_cd works
TechSprout is a learning platform for students, educators, and administrators. Students discover courses, enroll, view lectures, and use AI assistance; educators create courses and lectures; administrators manage users and platform settings. The backend also provides authentication, payments, reviews, notifications, live sessions, video, and notes. The graph reflects documented routes and sampled calls; unsampled modules are included where the source index or tree identifies their role, but uncertain connections are omitted.
Main entry points: index.js API and socket server · App.jsx App and routes · courseController.js Course management · courseRoute.js Course endpoints
Components 27
Web experience
- App and routes
frontend/src/App.jsx - Course discovery
frontend/src/pages/Home.jsx - Course learning
frontend/src/pages/ViewCourse.jsx - AI course search
frontend/src/pages/SearchWithAi.jsx - Content protection
frontend/src/customHooks/useScreenshotPrevention.js
Learning platform
- Course management
backend/controllers/courseController.js - Course endpoints
backend/routes/courseRoute.js - AI assistance
backend/controllers/aiController.js - Technical chat
backend/controllers/techchatController.js - Live sessions
backend/controllers/liveController.js - Video services
backend/controllers/videoController.js
Identity and community
- Authentication
backend/controllers/authController.js - Auth endpoints
backend/routes/authRoute.js - Session authorization
backend/middlewares/isAuth.js - Course reviews
backend/controllers/reviewController.js - Review endpoints
backend/routes/reviewRoute.js
Platform operations
- Payments and orders
backend/controllers/paymentController.js - Administration
backend/controllers/adminController.js - Notifications
backend/controllers/notificationController.js - API and socket server
backend/index.js
Persistence and integrations
- Courses
backend/models/courseModel.js - Lectures
backend/models/lectureModel.js - User accounts
backend/models/userModel.js - Review records
backend/models/reviewModel.js - Email delivery
backend/configs/Mail.js - S3 media storage
backend/configs/awsS3.js
Other components
- Platform users
Connections 30
- Platform users → App and routes: uses
- App and routes → Course discovery: routes to
frontend/src/App.jsx - App and routes → Course learning: routes to
frontend/src/App.jsx - App and routes → AI course search: routes to
frontend/src/App.jsx - App and routes → Content protection: applies protection
frontend/src/App.jsx - App and routes → API and socket server: requests API
- API and socket server → Course endpoints: mounts
backend/index.js - API and socket server → Auth endpoints: mounts
backend/index.js - API and socket server → Review endpoints: mounts
backend/index.js - API and socket server → Live sessions: mounts live routes
backend/index.js - API and socket server → Payments and orders: mounts payment routes
backend/index.js - API and socket server → AI assistance: mounts AI routes
backend/index.js - API and socket server → Administration: mounts admin routes
backend/index.js - API and socket server → Video services: mounts video routes
backend/index.js - Course endpoints → Course management: dispatches
backend/routes/courseRoute.js - Auth endpoints → Authentication: dispatches
backend/routes/authRoute.js - Review endpoints → Course reviews: dispatches
backend/routes/reviewRoute.js - Review endpoints → Session authorization: guards requests
backend/routes/reviewRoute.js - Course endpoints → Session authorization: guards requests
backend/routes/courseRoute.js - Authentication → User accounts: reads and writes
backend/controllers/authController.js - Authentication → Email delivery: sends email
backend/controllers/authController.js - Session authorization → User accounts: loads user
backend/middlewares/isAuth.js - Course management → Courses: reads and writes
backend/controllers/courseController.js - Course management → Lectures: manages lectures
backend/controllers/courseController.js - Course management → User accounts: reads user
backend/controllers/courseController.js - Course management → S3 media storage: uploads media
backend/controllers/courseController.js - AI assistance → Courses: searches courses
backend/controllers/aiController.js - Course reviews → Courses: checks course
backend/controllers/reviewController.js - Course reviews → Review records: reads and writes
backend/controllers/reviewController.js - AI assistance → Technical chat: routes AI chat