How thamidalamalakhibabu-png/ascet-assginment-hub works
ASCET Assignment Hub is a role-based academic assignment lifecycle platform. Its principal workflow runs from faculty assignment creation through student validation and submission, deadline assessment, evidence receipt, and faculty evaluation or requested resubmission. The graph combines the sampled route and controller wiring with documented product capabilities. Some frontend-to-backend connections are HTTP-based and not visible in a single source excerpt; those links are marked as documented or unverified accordingly.
Main entry points: App.tsx Application shell · apiRoutes.ts REST route dispatch · submissionController.ts Submission lifecycle · store.ts Hub state store
Components 30
Role-based client
- Application shell
frontend/src/App.tsx - Student dashboard
frontend/src/components/StudentDashboard.tsx - Faculty dashboard
frontend/src/components/FacultyDashboard.tsx - Admin dashboard
frontend/src/components/AdminDashboard.tsx - Role login
frontend/src/components/LoginPage.tsx - Navigation header
frontend/src/components/Header.tsx - Submission form
frontend/src/components/SubmissionModal.tsx - Evidence receipt
frontend/src/components/EvidenceReceiptModal.tsx - Assignment journey
frontend/src/components/AssignmentJourneyModal.tsx - Version history
frontend/src/components/VersionHistoryModal.tsx - Notification drawer
frontend/src/components/NotificationDrawer.tsx - Frontend API client
frontend/src/services/api.ts
API workflows
- REST route dispatch
backend/src/routes/apiRoutes.ts - Authentication
backend/src/controllers/authController.ts - Assignment management
backend/src/controllers/assignmentController.ts - Submission lifecycle
backend/src/controllers/submissionController.ts - Evaluation and revisions
backend/src/controllers/evaluationController.ts - Institutional analytics
backend/src/controllers/analyticsController.ts - Admin and audit
backend/src/controllers/adminController.ts - Notification operations
backend/src/controllers/notificationController.ts - API server
backend/src/server.ts
Submission services
- Submission health checks
backend/src/services/healthCheckService.ts - Late detection
backend/src/services/lateDetectionService.ts - Evidence fingerprinting
backend/src/services/evidenceService.ts
Persistence and records
- Hub state store
backend/src/services/store.ts - Academic data models
backend/src/models/academicModels.ts - Database connection
backend/src/config/db.ts
Other components
- Student
- Faculty
- Administrator
Connections 42
- Student → Role login: signs in
- Faculty → Role login: signs in
- Administrator → Role login: signs in
- Application shell → Role login: renders
frontend/src/App.tsx - Application shell → Navigation header: renders
frontend/src/App.tsx - Application shell → Student dashboard: renders
frontend/src/App.tsx - Application shell → Faculty dashboard: renders
frontend/src/App.tsx - Application shell → Admin dashboard: renders
frontend/src/App.tsx - Application shell → Submission form: renders
frontend/src/App.tsx - Application shell → Evidence receipt: renders
frontend/src/App.tsx - Application shell → Assignment journey: renders
frontend/src/App.tsx - Application shell → Version history: renders
frontend/src/App.tsx - Application shell → Notification drawer: renders
frontend/src/App.tsx - Application shell → Frontend API client: loads data
frontend/src/App.tsx - Student dashboard → Submission form: opens submission
frontend/src/App.tsx - Faculty → Faculty dashboard: manages work
- Administrator → Admin dashboard: manages institution
- Faculty dashboard → Frontend API client: creates and evaluates
frontend/src/components/FacultyDashboard.tsx - Submission form → Frontend API client: submits work
frontend/src/services/api.ts - Frontend API client → REST route dispatch: calls REST API
- API server → REST route dispatch: mounts routes
backend/src/server.ts - API server → Database connection: connects database
backend/src/server.ts - REST route dispatch → Authentication: dispatches auth
backend/src/routes/apiRoutes.ts - REST route dispatch → Assignment management: dispatches assignments
backend/src/routes/apiRoutes.ts - REST route dispatch → Submission lifecycle: dispatches submissions
backend/src/routes/apiRoutes.ts - REST route dispatch → Evaluation and revisions: dispatches evaluations
backend/src/routes/apiRoutes.ts - REST route dispatch → Institutional analytics: dispatches analytics
backend/src/routes/apiRoutes.ts - REST route dispatch → Notification operations: dispatches notifications
backend/src/routes/apiRoutes.ts - REST route dispatch → Admin and audit: dispatches admin
backend/src/routes/apiRoutes.ts - Assignment management → Hub state store: reads and writes
backend/src/controllers/assignmentController.ts - Submission lifecycle → Hub state store: reads and writes
backend/src/controllers/submissionController.ts - Submission lifecycle → Submission health checks: validates submission
backend/src/controllers/submissionController.ts - Submission lifecycle → Late detection: checks deadline
backend/src/controllers/submissionController.ts - Submission lifecycle → Evidence fingerprinting: generates checksum
backend/src/controllers/submissionController.ts - Evaluation and revisions → Hub state store: updates records
backend/src/controllers/evaluationController.ts - Institutional analytics → Hub state store: reads metrics
backend/src/controllers/analyticsController.ts - Notification operations → Hub state store: reads and updates
backend/src/controllers/notificationController.ts - Admin and audit → Hub state store: reads records
backend/src/controllers/adminController.ts - Submission lifecycle → Evidence receipt: issues receipt
- Evaluation and revisions → Student dashboard: returns marks
- Evaluation and revisions → Notification drawer: notifies student
- Academic data models → Database connection: defines persisted schema