How veilen1/postgrados_frlp works
SGAP is a web platform for postgraduate admissions and academic records. Applicants register and submit a pre-enrollment file with PDF documents; staff review applications, manage cohorts and legajo states, and approve records that receive an official number. The graph also preserves authentication/RBAC, statistics, and the documented teacher UI. Some frontend-to-API and backend domain links are based on the README and SOURCE INDEX; unsampled implementation details are not inferred beyond those references.
Main entry points: App.jsx Role-based SPA · dependencies.py Auth and RBAC · router.py API router · api.py Auth endpoints
Components 33
Web interface
- Role-based SPA
app/frontend/src/App.jsx - Pre-enrollment
app/frontend/src/components/preinscripcion.jsx - My legajo
app/frontend/src/components/MiLegajo.jsx - Application review
app/frontend/src/components/PanelConduccionInscripciones.jsx - Student records
app/frontend/src/components/PanelConduccionEstudiante.jsx - Postgraduate cohorts
app/frontend/src/components/VistaPostgrados.jsx - Statistics
app/frontend/src/components/VistaEstadisticas.jsx - Teacher panel
app/frontend/src/components/panelDocente.jsx
Frontend services
- Auth service
app/frontend/src/services/authService.js - API client
app/frontend/src/services/apiClient.js - Enrollment service
app/frontend/src/services/inscripcionService.js - Legajo service
app/frontend/src/services/legajoService.js - Cohort service
app/frontend/src/services/cohorteService.js
API and domain
- API router
app/backend/src/shared/api/router.py - Auth endpoints
app/backend/src/auth/api.py - Cohort endpoints
app/backend/src/cohortes/api.py - Cohort management
app/backend/src/cohortes/service.py - Legajo endpoints
app/backend/src/legajos/api.py - Legajo workflow
app/backend/src/legajos/service.py - Document endpoints
app/backend/src/legajos/document_api.py - Document handling
app/backend/src/legajos/document_service.py - PDF storage
app/backend/src/legajos/document_storage.py - Legajo records
app/backend/src/legajos/models.py - Cohort records
app/backend/src/cohortes/models.py
Security and persistence
- JWT and passwords
app/backend/src/auth/security.py - Auth and RBAC
app/backend/src/shared/auth/dependencies.py - Database sessions
app/backend/src/shared/database.py - User and sessions
app/backend/src/shared/models.py
Other components
- Applicant
- Conducción staff
- Teacher
- PostgreSQL
- PDF filesystem
Connections 48
- Applicant → Role-based SPA: uses
README.md - Conducción staff → Role-based SPA: uses
README.md - Teacher → Role-based SPA: uses
README.md - Role-based SPA → Pre-enrollment: renders
app/frontend/src/App.jsx - Role-based SPA → My legajo: renders
app/frontend/src/App.jsx - Role-based SPA → Application review: renders
app/frontend/src/App.jsx - Role-based SPA → Student records: renders
app/frontend/src/App.jsx - Role-based SPA → Postgraduate cohorts: renders
app/frontend/src/App.jsx - Role-based SPA → Statistics: renders
app/frontend/src/App.jsx - Role-based SPA → Teacher panel: renders
app/frontend/src/App.jsx - Role-based SPA → Auth service: authenticates via
app/frontend/src/App.jsx - Pre-enrollment → Enrollment service: submits through
app/frontend/src/components/preinscripcion.jsx - Pre-enrollment → Auth service: registers via
app/frontend/src/components/preinscripcion.jsx - My legajo → Enrollment service: loads via
app/frontend/src/components/MiLegajo.jsx - Application review → Legajo service: manages via
app/frontend/src/components/PanelConduccionInscripciones.jsx - Student records → Legajo service: loads via
app/frontend/src/components/PanelConduccionEstudiante.jsx - Postgraduate cohorts → Cohort service: manages via
app/frontend/src/components/VistaPostgrados.jsx - Statistics → Legajo service: queries via
app/frontend/src/components/VistaEstadisticas.jsx - Statistics → Cohort service: queries via
app/frontend/src/components/VistaEstadisticas.jsx - Auth service → API client: requests through
app/frontend/src/services/authService.js - Cohort service → API client: requests through
app/frontend/src/services/cohorteService.js - Legajo service → API client: requests through
app/frontend/src/services/legajoService.js - Enrollment service → API router: calls API
README.md - API client → API router: sends HTTP
- API router → Auth endpoints: routes to
app/backend/src/shared/api/router.py - API router → Cohort endpoints: routes to
app/backend/src/shared/api/router.py - API router → Legajo endpoints: routes to
app/backend/src/shared/api/router.py - API router → Document endpoints: routes to
app/backend/src/shared/api/router.py - Auth endpoints → Auth and RBAC: uses
app/backend/src/auth/api.py - Auth endpoints → JWT and passwords: uses
app/backend/src/auth/api.py - Auth endpoints → User and sessions: persists user data
app/backend/src/auth/api.py - Cohort endpoints → Cohort management: delegates to
app/backend/src/cohortes/api.py - Cohort endpoints → Auth and RBAC: checks access
app/backend/src/cohortes/api.py - Legajo endpoints → Legajo workflow: delegates to
app/backend/src/legajos/api.py - Legajo endpoints → Auth and RBAC: checks access
app/backend/src/legajos/api.py - Document endpoints → Document handling: delegates to
app/backend/src/legajos/document_api.py - Document endpoints → Auth and RBAC: checks access
app/backend/src/legajos/document_api.py - Document handling → PDF storage: stores and resolves
app/backend/src/legajos/document_service.py - PDF storage → PDF filesystem: writes PDFs
app/backend/src/legajos/document_storage.py - Auth and RBAC → JWT and passwords: decodes tokens
app/backend/src/shared/auth/dependencies.py - Auth and RBAC → Database sessions: queries user
app/backend/src/shared/auth/dependencies.py - Auth and RBAC → User and sessions: loads user
app/backend/src/shared/auth/dependencies.py - Cohort management → Cohort records: queries and updates
app/backend/src/cohortes/service.py - Cohort management → Legajo records: checks legajo numbers
app/backend/src/cohortes/service.py - Legajo workflow → Legajo records: creates and updates
app/backend/src/legajos/service.py - Legajo workflow → Cohort records: checks cohort
app/backend/src/legajos/service.py - Database sessions → PostgreSQL: connects to
app/backend/src/shared/database.py - User and sessions → Database sessions: maps onto
app/backend/src/shared/models.py