How amirhabiby/itas_registration_tracking_system works
RTTS is a modular-monolith registration and training system with role-based portals. Its documented representative journey runs from requesting training, through delegator approval and institute delivery, to assessment and trained status; delegators can then assign trained representatives as agents. The graph also preserves identity, online assessments, public/staff training access, and administration. Source excerpts show selected service calls and frontend routing; other domain links are limited to README statements, and unsampled subsystem internals are represented by their existing directories.
Main entry points: AppRoutes.tsx Role routing · DelegatorService.java Delegator decisions · RepresentativeService.java Representative status · institute Institute portal
Components 19
Role Portals
- Role routing
frontend/src/routes/AppRoutes.tsx - Representative portal
frontend/src/pages/representative - Delegator portal
frontend/src/pages/delegator - Institute portal
frontend/src/pages/institute - Public and staff training
frontend/src/pages/public
Identity and Access
- Authentication services
backend/src/main/java/com/aronalvarenga/rtts/identity/application/AuthService.java - User accounts
backend/src/main/java/com/aronalvarenga/rtts/identity/domain/UserAccount.java
Training Lifecycle
- Training requests
backend/src/main/java/com/aronalvarenga/rtts/modules/requests - Delegator decisions
backend/src/main/java/com/aronalvarenga/rtts/modules/delegator/application/DelegatorService.java - Training delivery
backend/src/main/java/com/aronalvarenga/rtts/modules/trainings/domain/Training.java - Enrollment and scores
backend/src/main/java/com/aronalvarenga/rtts/modules/enrollments/application/EnrollmentService.java - Representative status
backend/src/main/java/com/aronalvarenga/rtts/modules/representatives/application/RepresentativeService.java
Assessment
- Online assessments
backend/src/main/java/com/aronalvarenga/rtts/modules/assessment/application/OnlineAssessmentService.java - Assessment grading
backend/src/main/java/com/aronalvarenga/rtts/modules/assessment/application/AssessmentGradingService.java
Administration and Support
- System administration
backend/src/main/java/com/aronalvarenga/rtts/modules/user - Role dashboards
backend/src/main/java/com/aronalvarenga/rtts/modules/dashboard - Profile media
backend/src/main/java/com/aronalvarenga/rtts/media/CloudinaryService.java - Email notifications
backend/src/main/java/com/aronalvarenga/rtts/notifications/EmailService.java
Other components
- Portal users
Connections 18
- Portal users → Role routing: use portals
frontend/src/routes/AppRoutes.tsx - Role routing → Representative portal: routes to
frontend/src/routes/AppRoutes.tsx - Role routing → Delegator portal: routes to
frontend/src/routes/AppRoutes.tsx - Role routing → Institute portal: routes to
frontend/src/routes/AppRoutes.tsx - Role routing → Public and staff training: routes to
frontend/src/routes/AppRoutes.tsx - Authentication services → User accounts: reads accounts
backend/src/main/java/com/aronalvarenga/rtts/identity/application/AuthService.java - Portal users → Training requests: request training
README.md - Training requests → Delegator decisions: submit for decision
README.md - Delegator decisions → Training delivery: approve training
README.md - Training delivery → Enrollment and scores: deliver to trainees
README.md - Enrollment and scores → Representative status: marks trained
backend/src/main/java/com/aronalvarenga/rtts/modules/enrollments/application/EnrollmentService.java - Portal users → Online assessments: take assessments
- Institute portal → Assessment grading: submit scores
README.md - Assessment grading → Representative status: updates status
- Representative status → Delegator decisions: eligible as agent
README.md - Portal users → System administration: administer system
- Portal users → Role dashboards: view dashboards
- Profile media → User accounts: stores profile URL