How srmistphdapp/srmtrp works
This is a multi-campus PhD management web application with login and separate director, administrator, department, and FOET portals. The main workflow moves scholar applications through department review and faculty-level forwarding, then supports examinations, interviews, question papers, results, and queries. Shared services and Supabase provide data access across the portals. The README gives no capability detail; portal capabilities are inferred from the source tree and the sampled router/component references, so unsampled internal links are omitted.
Main entry points: department/App.js Department portal · departmentScholarService.js Department review service · src/App.js Application router · supabaseClient.js Campus client
Components 23
Entry and identity
- Application router
src/App.js - Login pages
src/apps/login/App.js
Central administration
- Admin portal
src/apps/admin/admin-portal/components/QueryScholars.js - Director portal
src/apps/director/director-portal/DirectorPortal.js - Oversight workflows
src/apps/director/director-portal/components/Examination.js - Scholar oversight
src/apps/director/director-portal/components/ScholarManagement.js
Department review
- Department portal
src/apps/department/App.js - Department context
src/apps/department/contexts/AppContext.js - Scholar applications
src/apps/department/components/ScholarApplications.js - Department decisions
src/apps/department/components/ApprovedScholars.js - Interviews and meetings
src/apps/department/components/Interview.js - Queries and results
src/apps/department/components/QueriesPage.js - Question papers
src/apps/department/components/QuestionPapers.js
Faculty operations
- FOET portal
src/apps/foet/App.js - Scholar forwarding
src/apps/foet/components/QueryScholar.js - Faculty data service
src/apps/foet/services/supabaseService.js
Shared data layer
- Scholar data service
src/services/scholarService.js - Department data service
src/services/departmentService.js - Department review service
src/apps/department/services/departmentScholarService.js - Department matching
src/utils/departmentUtils.js - Campus client
src/supabaseClient.js
Other components
- Portal users
- Supabase
Connections 32
- Portal users → Application router: opens
src/App.js - Application router → Login pages: routes to
src/App.js - Application router → Admin portal: routes to
src/App.js - Application router → Director portal: routes to
src/App.js - Application router → Department portal: routes to
src/App.js - Application router → FOET portal: routes to
src/App.js - Director portal → Oversight workflows: renders
src/apps/director/director-portal/DirectorPortal.js - Director portal → Scholar oversight: renders
src/apps/director/director-portal/DirectorPortal.js - Admin portal → Scholar data service: reads and updates
src/apps/admin/admin-portal/components/QueryScholars.js - Admin portal → Department data service: loads departments
src/apps/admin/admin-portal/components/QueryScholars.js - Department portal → Department context: provides context
src/apps/department/App.js - Department portal → Scholar applications: renders
src/apps/department/App.js - Department portal → Department decisions: renders
src/apps/department/App.js - Department portal → Interviews and meetings: renders
src/apps/department/App.js - Department portal → Queries and results: renders
src/apps/department/App.js - Department portal → Question papers: renders
src/apps/department/App.js - Department context → Department review service: loads and approves
src/apps/department/contexts/AppContext.js - Scholar applications → Department review service: uses
src/apps/department/components/ScholarApplications.js - Department decisions → Department review service: uses
src/apps/department/components/ApprovedScholars.js - Interviews and meetings → Department review service: uses
src/apps/department/components/Interview.js - Queries and results → Department review service: uses
src/apps/department/components/QueriesPage.js - Question papers → Supabase: reads and writes
src/apps/department/components/QuestionPapers.js - FOET portal → Faculty data service: loads faculty data
src/apps/foet/App.js - FOET portal → Scholar forwarding: routes feature
src/apps/foet/App.js - Scholar forwarding → Faculty data service: updates forwarding
src/apps/foet/components/QueryScholar.js - Faculty data service → Campus client: uses
src/apps/foet/services/supabaseService.js - Scholar data service → Campus client: queries
src/services/scholarService.js - Scholar data service → Department matching: normalizes names
src/services/scholarService.js - Department data service → Campus client: queries
src/services/departmentService.js - Department review service → Campus client: updates reviews
src/apps/department/services/departmentScholarService.js - Department review service → Department matching: generates codes
src/apps/department/services/departmentScholarService.js - Campus client → Supabase: connects to
src/supabaseClient.js