How kush788/classhub works
ClassHub is a virtual-classroom platform whose main workflow runs from teacher/student use of the React app, through classroom and learning services, to submissions, grading, and performance tracking. The README documents the service topology and key integrations; sampled source confirms workspace and notification controller-to-service delegation. The source excerpts do not expose most service internals or frontend API calls, so those links are limited to documented relationships.
Main entry points: DiscoveryServerApplication.java Service discovery · SubmissionService.java Submission and grading · AuthService.java Authentication · ResourceService.java Course resources
Components 17
User interface
- React application
classhub-frontend/src/App.tsx
Platform access
- API gateway
api-gateway/src/main/java/com/classhub/gateway/ApiGatewayApplication.java - Service discovery
discovery-server/src/main/java/com/classhub/discovery/DiscoveryServerApplication.java - Authentication
auth-service/src/main/java/com/classhub/auth/service/AuthService.java
Classroom learning
- Workspaces
workspace-service/src/main/java/com/classhub/workspace/controller/WorkspaceController.java - Course resources
resource-service/src/main/java/com/classhub/resource/service/ResourceService.java - Assignments
assignment-service/src/main/java/com/classhub/assignment/service/AssignmentService.java - Submission and grading
submission-service/src/main/java/com/classhub/submission/service/SubmissionService.java - Coding playground
playground-service/src/main/java/com/classhub/playground/service/CodeExecutionService.java
Engagement and performance
- Leaderboard
leaderboard-service/src/main/java/com/classhub/leaderboard/service/LeaderboardService.java - Email notifications
notification-service/src/main/java/com/classhub/notification/controller/NotificationController.java
External services
- PostgreSQL
- Cloudinary
- Email / SMTP
- Judge0
Other components
- Teacher
- Student
Connections 23
- Teacher → React application: uses
- Student → React application: uses
- React application → API gateway: sends requests
- API gateway → Service discovery: resolves services
- Service discovery → Authentication: registers services
- Service discovery → Workspaces: registers services
- Service discovery → Course resources: registers services
- Service discovery → Assignments: registers services
- Service discovery → Submission and grading: registers services
- Service discovery → Leaderboard: registers services
- Service discovery → Email notifications: registers services
- Authentication → PostgreSQL: stores accounts
- Workspaces → PostgreSQL: stores classroom data
- Course resources → PostgreSQL: stores resource data
- Course resources → Cloudinary: stores files
- Assignments → PostgreSQL: stores assignments
- Submission and grading → PostgreSQL: stores submissions
- Leaderboard → PostgreSQL: stores rankings
- Authentication → Email / SMTP: sends verification email
- Email notifications → Email / SMTP: sends updates
- Submission and grading → Email notifications: requests graded alerts
- Submission and grading → Leaderboard: supplies score updates
- Coding playground → Judge0: runs code