How jf7890/my-learn works
My-Learn is a self-hosted team learning workspace. Learners sign in, browse courses, view lessons and stream video, then record progress and use learning tools; administrators manage accounts, course access and workspace settings. The React app calls a FastAPI backend, which applies authorization and stores metadata in SQLite while serving original media from disk. The graph follows documented and indexed relationships; unsampled features are included where the README establishes them, but their internal call paths are not inferred.
Main entry points: api.js API client · admin.py Admin routes · App.jsx App routing · db.py SQLite data
Components 27
Learner experience
- App routing
frontend/src/App.jsx - Course catalog
frontend/src/components/CourseGrid.jsx - Course lessons
frontend/src/components/CourseView.jsx - Video player
frontend/src/components/VideoPlayer.jsx - Private notes
frontend/src/components/LessonNotes.jsx - Knowledge checks
frontend/src/components/KnowledgeCheck.jsx - Branding context
frontend/src/BrandingContext.jsx - API client
frontend/src/api.js
Workspace administration
- Admin dashboard
frontend/src/components/AdminDashboard.jsx - User management
frontend/src/components/UserManagement.jsx
API and access
- Authentication routes
server/routers/auth_routes.py - Course routes
server/routers/courses.py - Media routes
server/routers/media.py - Admin routes
server/routers/admin.py - Course access policies
server/access/policies.py - Authentication
server/auth.py - Request schemas
server/schemas.py
Learning services
- Course discovery
server/scanner.py - Progress and streaks
server/routers/progress.py - Learning statistics
server/services/learning_stats.py - Quiz service
server/services/knowledge_service.py
Workspace data
- SQLite data
server/db.py - Course media files
- Email delivery
server/mailer.py - Notifications
server/notifications.py
Other components
- Learner
- Administrator
Connections 31
- Learner → App routing: opens workspace
- Administrator → App routing: opens workspace
- App routing → Course catalog: routes to
frontend/src/App.jsx - App routing → Admin dashboard: routes to
frontend/src/App.jsx - App routing → User management: routes to
frontend/src/App.jsx - Course catalog → API client: requests courses
frontend/src/components/CourseGrid.jsx - Course lessons → Video player: renders
frontend/src/components/CourseView.jsx - Course lessons → Private notes: renders
frontend/src/components/CourseView.jsx - Course lessons → API client: requests data
frontend/src/components/CourseView.jsx - Video player → API client: requests playback
frontend/src/components/VideoPlayer.jsx - Knowledge checks → API client: submits answers
frontend/src/components/KnowledgeCheck.jsx - Branding context → API client: loads branding
frontend/src/BrandingContext.jsx - Admin dashboard → API client: manages workspace
frontend/src/components/AdminDashboard.jsx - API client → Authentication routes: sends API requests
- API client → Course routes: sends API requests
- API client → Media routes: sends API requests
- API client → Admin routes: sends API requests
- Authentication routes → Authentication: authenticates
server/routers/auth_routes.py - Admin routes → Learning statistics: loads statistics
server/routers/admin.py - Course routes → Course access policies: checks access
server/routers/courses.py - Media routes → Course access policies: checks access
server/routers/media.py - Media routes → Course media files: streams media
- Progress and streaks → Learning statistics: uses statistics
server/routers/progress.py - Knowledge checks → Quiz service: checks answers
- Authentication → SQLite data: reads accounts
server/auth.py - Course discovery → SQLite data: indexes courses
server/scanner.py - Progress and streaks → SQLite data: stores progress
server/routers/progress.py - Admin routes → SQLite data: manages records
server/routers/admin.py - Authentication routes → Request schemas: validates requests
server/routers/auth_routes.py - Admin routes → Email delivery: sends email
server/routers/admin.py - Admin routes → Notifications: uses notifications
server/routers/admin.py