How thiagoudweb/projeto-es works
This repository implements an Angular and Spring Boot mentoring platform. A student or mentor registers and builds a role-specific profile, searches the other role by interests, arranges a mentoring session, tracks its status/history, and can review completed sessions. The graph preserves these documented capabilities, with session and review lifecycle as distinct domain stages. Backend controller-to-service and persistence details are mostly unsampled, so those links are documented or marked unverified rather than inferred as inspected; material resources are included as a documented capability.
Main entry points: profile.service.ts Profile client · app.routes.ts Application routes · repository Domain repositories · login.component.ts Login and registration
Components 23
Angular client
- Application routes
frontend/src/app/app.routes.ts - Login and registration
frontend/src/app/auth/login/login.component.ts
Identity and profiles
- Auth client
frontend/src/app/auth/auth.service.ts - Authentication API
backend/plataforma.mentoria/src/main/java/br/edu/ufape/plataforma/mentoria/controller/AuthController.java - Token security
backend/plataforma.mentoria/src/main/java/br/edu/ufape/plataforma/mentoria/security/TokenService.java - Profile screens
frontend/src/app/profile/profile.component.ts - Profile client
frontend/src/app/profile/profile.service.ts - Mentor API
backend/plataforma.mentoria/src/main/java/br/edu/ufape/plataforma/mentoria/controller/MentorController.java - Student API
backend/plataforma.mentoria/src/main/java/br/edu/ufape/plataforma/mentoria/controller/MentoredController.java
Member discovery
- Mentor search
frontend/src/app/mentor-search/mentor-search.ts - Student search
frontend/src/app/mentored-search/mentored-search.ts - Mentor discovery
backend/plataforma.mentoria/src/main/java/br/edu/ufape/plataforma/mentoria/service/MentorSearchService.java - Student discovery
backend/plataforma.mentoria/src/main/java/br/edu/ufape/plataforma/mentoria/service/MentoredSearchService.java
Mentoring lifecycle
- Session booking
frontend/src/app/sessions/session.component.ts - Session client
frontend/src/app/sessions/session.service.ts - Session API
backend/plataforma.mentoria/src/main/java/br/edu/ufape/plataforma/mentoria/controller/SessionController.java - Session lifecycle
backend/plataforma.mentoria/src/main/java/br/edu/ufape/plataforma/mentoria/service/SessionService.java - Session history
frontend/src/app/session-history/session-history.component.ts - Session reviews
backend/plataforma.mentoria/src/main/java/br/edu/ufape/plataforma/mentoria/service/ReviewService.java - Support materials
backend/plataforma.mentoria/src/main/java/br/edu/ufape/plataforma/mentoria/controller/MaterialController.java
Backend persistence
- Domain repositories
backend/plataforma.mentoria/src/main/java/br/edu/ufape/plataforma/mentoria/repository
Other components
- Mentor or student
- PostgreSQL
Connections 28
- Mentor or student → Application routes: uses
frontend/src/app/app.routes.ts - Application routes → Login and registration: routes to
frontend/src/app/app.routes.ts - Application routes → Profile screens: routes to
frontend/src/app/app.routes.ts - Application routes → Session booking: routes to
frontend/src/app/app.routes.ts - Application routes → Session history: routes to
frontend/src/app/app.routes.ts - Login and registration → Auth client: uses
- Auth client → Authentication API: requests
frontend/src/app/auth/auth.service.ts - Authentication API → Token security: issues tokens
- Profile screens → Profile client: loads profile
- Profile client → Mentor API: requests profile
frontend/src/app/profile/profile.service.ts - Profile client → Student API: requests profile
frontend/src/app/profile/profile.service.ts - Mentor search → Profile client: searches through
frontend/src/app/mentor-search/mentor-search.ts - Student search → Profile client: searches through
frontend/src/app/mentored-search/mentored-search.ts - Profile client → Mentor discovery: requests mentors
frontend/src/app/profile/profile.service.ts - Profile client → Student discovery: requests students
frontend/src/app/profile/profile.service.ts - Mentor discovery → Domain repositories: queries
backend/plataforma.mentoria/src/main/java/br/edu/ufape/plataforma/mentoria/service/MentorSearchService.java - Student discovery → Domain repositories: queries
backend/plataforma.mentoria/src/main/java/br/edu/ufape/plataforma/mentoria/service/MentoredSearchService.java - Session booking → Session client: uses
- Session client → Session API: requests sessions
- Session API → Session lifecycle: delegates
- Session lifecycle → Domain repositories: reads and writes
backend/plataforma.mentoria/src/main/java/br/edu/ufape/plataforma/mentoria/service/SessionService.java - Session history → Profile client: loads history
frontend/src/app/profile/profile.service.ts - Session reviews → Domain repositories: reads and writes
backend/plataforma.mentoria/src/main/java/br/edu/ufape/plataforma/mentoria/service/ReviewService.java - Domain repositories → PostgreSQL: persists
- Mentor or student → Mentor search: finds mentors
- Mentor or student → Student search: finds students
- Mentor or student → Support materials: accesses resources
- Mentor or student → Session reviews: reviews sessions