How peoliveirapinto/campushub_pi_2026_2 works
CampusHub is a university student platform for account access, student profiles, and matching compatible students into project groups. The apparent user journey is account creation or login, profile setup, then exploring or forming groups; the frontend shows API calls for authentication and profile creation. The README describes student matching as a core capability, but the supplied excerpts do not show its implementation or the backend’s internal call paths. Those areas are represented as subsystems without asserting unverified connections.
Main entry points: AuthController.java Auth endpoints · criar_conta/page.tsx Account registration · AuthService.java Authentication service · login/page.tsx Student dashboard
Components 18
Web experience
- CampusHub landing
frontend/src/app/page.tsx - Student dashboard
frontend/src/app/home_c/login/page.tsx
Identity and access
- Account registration
frontend/src/app/criar_conta/page.tsx - Login form
frontend/src/app/login/page.tsx - Auth endpoints
backend/src/main/java/org/example/backend/controller/AuthController.java - Authentication service
backend/src/main/java/org/example/backend/service/AuthService.java - JWT and security
backend/src/main/java/org/example/backend/security
Student profiles
- Profile creation
frontend/src/app/criar_perfil/page.tsx - Profile editing
frontend/src/app/editar_perfil/page.tsx - Profile API
backend/src/main/java/org/example/backend/controller/PerfilController.java - Profile service
backend/src/main/java/org/example/backend/service/PerfilService.java
Matching and groups
- Group creation
frontend/src/app/criar_grupo/page.tsx - Group details and request
frontend/src/app/saber_mais_grupo/page.tsx - Student matching
backend/src/main/java/org/example/backend/service
Backend data
- User persistence
backend/src/main/java/org/example/backend/repository/UsuarioRepository.java - Profile persistence
backend/src/main/java/org/example/backend/repository/PerfilRepository.java - PostgreSQL
Other components
- Student
Connections 20
- Student → CampusHub landing: opens
README.md - Student → Account registration: creates account
README.md - Student → Login form: signs in
README.md - Account registration → Auth endpoints: posts registration
frontend/src/app/criar_conta/page.tsx - Account registration → Auth endpoints: logs in
frontend/src/app/criar_conta/page.tsx - Login form → Auth endpoints: posts credentials
frontend/src/app/login/page.tsx - Student → Profile creation: sets up profile
README.md - Profile creation → Profile API: posts profile
frontend/src/app/criar_perfil/page.tsx - Student → Profile editing: edits profile
README.md - Student → Student dashboard: views hub
README.md - Student dashboard → Group creation: opens creation
frontend/src/app/home_c/login/page.tsx - Student → Student matching: seeks compatible peers
README.md - Student → Group details and request: requests group entry
README.md - Auth endpoints → Authentication service: delegates
- Authentication service → JWT and security: uses tokens
- Authentication service → User persistence: reads and writes
- Profile API → Profile service: delegates
- Profile service → Profile persistence: reads and writes
- User persistence → PostgreSQL: persists
- Profile persistence → PostgreSQL: persists