How manjunathmi/odu-learner-companion works
ODU Learner Companion is a collaborative learning-path platform. Learners discover paths, join a shared space, follow learning materials, track progress, and keep notes; creators can also create paths, while path managers handle memberships and invitations. Separate capabilities include profiles, feedback, a document library, and platform administration. The graph follows documented workflows and sampled/import-index relationships; many route handlers and feature implementations were not sampled, so their internal connections are left broad or omitted.
Main entry points: PathBoard.tsx Path board · server.ts Supabase clients · JourneyDashboard.tsx Learning journey · api.ts API client
Components 24
Discover and learn
- Path discovery
app/explore/page.tsx - Discovery experience
components/discovery/DiscoveryExperience.tsx - Learning path card
components/LearningPathCard.tsx - Learning journey
components/journey/JourneyDashboard.tsx
Learning spaces
- Path creation
components/CreatePathForm.tsx - Learning space
app/paths/[pathId]/page.tsx - Path board
components/PathBoard.tsx - Learning content
components/LearningContent.tsx - Path sharing
components/PathShare.tsx - Path operations
app/api/paths - Membership management
app/account/path-members/page.tsx - Member editor
components/management/MemberEditor.tsx
Identity and account
- Learner profile
app/profile/page.tsx - Profile service
app/api/profile/route.ts - Authentication
components/AuthForm.tsx - Auth callback
app/auth/callback/route.ts - API client
lib/api.ts - Supabase clients
lib/supabase/server.ts - Application data
types/database.ts
Platform operations
- Document library
components/documents/Library.tsx - Document catalogue
lib/documents/server.ts - Platform administration
components/admin/PlatformWorkspace.tsx - Creator quota
lib/creator-quota.ts
Other components
- Learner
Connections 25
- Learner → Path discovery: discovers paths
README.md - Path discovery → Discovery experience: renders
app/explore/page.tsx - Discovery experience → Learning path card: displays paths
components/discovery/DiscoveryExperience.tsx - Learner → Learning journey: opens journey
README.md - Learning journey → Path creation: offers creation
components/journey/JourneyDashboard.tsx - Learner → Learning space: joins space
README.md - Learning space → Path board: renders
app/paths/[pathId]/page.tsx - Path board → Learning content: renders
components/PathBoard.tsx - Path board → Path sharing: renders
components/PathBoard.tsx - Path board → API client: fetches data
components/PathBoard.tsx - API client → Supabase clients: gets session
lib/api.ts - Learner → Membership management: manages members
README.md - Membership management → Member editor: renders
app/account/path-members/page.tsx - Learner → Learner profile: manages profile
README.md - Learner profile → API client: calls API
app/profile/page.tsx - Profile service → Supabase clients: reads and writes
app/api/profile/route.ts - Learner → Authentication: signs in
README.md - Authentication → Auth callback: starts callback
- Auth callback → Supabase clients: verifies session
app/auth/callback/route.ts - Supabase clients → Application data: uses schema types
lib/supabase/server.ts - Learner → Document library: reads resources
README.md - Document library → Document catalogue: loads catalogue
components/documents/Library.tsx - Platform administration → Document catalogue: manages visibility
- Learning journey → Creator quota: shows quota
components/journey/JourneyDashboard.tsx - Learner → Path operations: tracks progress and notes
README.md