How foundation50/classroom50 works
Classroom 50 manages GitHub-backed programming classrooms through teacher and student CLI extensions and a web frontend. The user workflow spans sign-in, classroom and roster setup, assignment creation, student acceptance and submission, then grading and feedback; teacher tools also support teams, organization policy, downloads, and teardown. The graph preserves these documented capabilities, while grouping unsampled CLI and web subsystems at their listed directories. Source evidence is sparse for many runtime links, so only relationships visible in excerpts or the README are drawn.
Main entry points: main.tsx Web application · useGithubAuth.tsx GitHub sign-in · gh-teacher/main.go Teacher CLI · gh-student/main.go Student CLI
Components 20
CLI extensions
- Teacher CLI
cli/gh-teacher/main.go - Student CLI
cli/gh-student/main.go - CLI shared services
cli/shared/contract/contract.go
Web application
- Web application
web/src/main.tsx - GitHub sign-in
web/src/auth/useGithubAuth.tsx - Auth session storage
web/src/auth/storage.ts - GitHub client context
web/src/context/github/GitHubClientProviderFromAuth.tsx - Classroom management
web/src/domain/classrooms - Roster and enrollment
web/src/domain/students - Assignment lifecycle
web/src/domain/assignments - Group management
web/src/pages/manageGroups/GroupsManager.tsx - Submissions and scores
web/src/domain/submissions - Organization administration
web/src/domain/orgMembers - Action activity tracking
web/src/context/actions/ActionActivityProvider.tsx - Classroom config data
web/src/domain/configRepoWrite.ts
GitHub integration
- User validation
web/src/auth/github-user-api.ts - GitHub API operations
web/src/github-core/client.ts
Other components
- Teacher
- Student
- GitHub
Connections 14
- Teacher → Teacher CLI: runs commands
- Student → Student CLI: runs commands
- Teacher → Web application: manages classroom
- Student → Web application: uses classroom
- Web application → GitHub sign-in: provides sign-in
web/src/main.tsx - GitHub sign-in → User validation: validates user
web/src/auth/useGithubAuth.tsx - GitHub sign-in → Auth session storage: persists token
web/src/auth/useGithubAuth.tsx - Web application → GitHub client context: provides client
web/src/main.tsx - GitHub client context → GitHub sign-in: reads auth state
web/src/context/github/GitHubClientProviderFromAuth.tsx - Teacher CLI → GitHub: manages assignments
- Student CLI → GitHub: submits work
- Web application → GitHub: manages via GitHub
- Web application → Action activity tracking: tracks actions
web/src/main.tsx - Group management → Action activity tracking: records actions