How yaswantpandey/yaswant-code works
Yaswant Code is an engineering-education platform combining an LMS, developer resources and tools, student collaboration, and Google Workspace services. The main user journey runs from public course discovery through enrollment and lesson progress to assessment and certification; separate branches support administration, notes and projects, and cohort communication. The React app routes views and shares LMS state, while Firebase and PHP-backed APIs provide documented persistence and platform services. Several backend and page implementations are not sampled, so their internal wiring is shown only where the tree or excerpts support it.
Main entry points: App.tsx App shell · LmsContext.tsx LMS state · CourseDiscoveryPage.tsx Course discovery · CourseLearningPage.tsx Lesson player
Components 29
Learning Platform
- App shell
src/App.tsx - LMS state
src/context/LmsContext.tsx - Course discovery
src/views/CourseDiscoveryPage.tsx - Course details
src/views/CourseDetailsPage.tsx - Lesson player
src/views/CourseLearningPage.tsx - Quizzes
src/views/QuizPage.tsx - Certificates
src/views/CertificatePage.tsx - Student dashboard
src/views/StudentDashboardPage.tsx - Admin console
src/views/AdminDashboardPage.tsx - Admin sign-in
src/views/AdminAuthGate.tsx - Global search
src/components/ui/SearchModal.tsx
Student Services
- Learning paths
src/views/LearningPathsPage.tsx - Developer tools
src/views/ToolsPage.tsx - Study notes
src/views/NotesPage.tsx - Capstone projects
src/views/ProjectsPage.tsx - Community
src/views/CommunityPage.tsx
Cloud Integrations
- Workspace hub
src/components/workspace/GoogleWorkspaceHub.tsx - Workspace state
src/context/WorkspaceContext.tsx - Google API client
src/services/googleWorkspace.ts - Firebase auth
src/services/firebaseAuth.ts - Firestore services
src/services/firebaseDb.ts
Server APIs
- PHP API endpoints
public/api - API service
src/services/api.ts - Auth endpoint
public/api/auth.php - Enrollment API
backend/api/enrollments.php
Other components
- Learner
- Google Workspace
- Firestore
- MySQL database
Connections 33
- Learner → App shell: uses
- App shell → LMS state: provides state
- App shell → Course discovery: renders
- App shell → Course details: renders
- App shell → Lesson player: renders
- App shell → Quizzes: renders
- App shell → Certificates: renders
- App shell → Student dashboard: renders
- App shell → Admin console: renders
- App shell → Admin sign-in: renders
- App shell → Global search: renders
- Learner → Course discovery: discovers courses
- Course discovery → Course details: opens course
- Learner → Lesson player: studies
- LMS state → Lesson player: tracks progress
- Learner → Quizzes: takes quiz
- Learner → Certificates: views credentials
- Learner → Student dashboard: checks progress
- Learner → Learning paths: explores paths
- Learner → Developer tools: uses tools
- Learner → Study notes: writes notes
- Learner → Capstone projects: submits work
- Learner → Community: joins discussions
- Learner → Workspace hub: uses workspace
- Workspace hub → Workspace state: uses state
- Workspace state → Google API client: calls
- Google API client → Google Workspace: accesses Drive Calendar Chat Gmail
- LMS state → Firebase auth: syncs enrollment progress
- Firebase auth → Firestore services: persists
- Firestore services → Firestore: reads writes
- Admin sign-in → Auth endpoint: logs in
- API service → PHP API endpoints: requests
- Enrollment API → MySQL database: queries