How antoniochyngon/ssm-frontend works
SSM is a role-based frontend for tracking academic improvement plans at FES Acatlán. Administrators manage cycles and users, review plans and reports, and consult audit/history views; licenciatura users capture plans, configure goals, upload evidence, and follow observations. The workflow runs through Next.js screens and a shared API client, which can use demo data or the documented NestJS backend. The README and source index establish the major screens and modules; several page-to-service connections are not shown in excerpts, so those links are omitted or marked unverified.
Main entry points: AppShell.tsx Role-based app shell · plan/page.tsx Plan capture · api.ts HTTP API client · dashboard/page.tsx Admin dashboard
Components 21
Access and shell
- Sign-in and recovery
src/app/(publico)/login/page.tsx - Role-based app shell
src/components/layout/AppShell.tsx - Notification center
src/components/layout/NotificationPanel.tsx - User profile
src/app/perfil/page.tsx
Administration
- Admin dashboard
src/app/admin/dashboard/page.tsx - Cycle management
src/app/admin/ciclos/page.tsx - User management
src/app/admin/usuarios/page.tsx - Plan review
src/app/admin/planes/[id]/ValidacionPlan.tsx - Report review
src/app/admin/informes/[id]/ValidacionInforme.tsx - Reports and history
src/app/admin/reportes - Cross-cutting recommendations
src/app/admin/transversales/page.tsx - Audit log
src/app/admin/bitacora/page.tsx
Licenciatura workflow
- Plan capture
src/app/licenciatura/plan/page.tsx - Goal configuration
src/app/licenciatura/metas/page.tsx - Evidence upload
src/app/licenciatura/evidencias/page.tsx - Observations and milestones
src/app/licenciatura/observaciones/page.tsx
Shared services
- HTTP API client
src/lib/api.ts - Demo data
src/lib/mock-data.ts - Shared data contracts
src/lib/types.ts
Other components
- Staff user
- SSM backend
Connections 23
- Staff user → Sign-in and recovery: signs in
- Staff user → Role-based app shell: uses role app
- Role-based app shell → Notification center: opens panel
src/components/layout/AppShell.tsx - Role-based app shell → Admin dashboard: routes by role
- Role-based app shell → Plan capture: routes by role
- Admin dashboard → Plan review: links for review
- Admin dashboard → Reports and history: shows summaries
- Staff user → Cycle management: manages cycles
src/app/admin/ciclos/page.tsx - Staff user → User management: manages accounts
- Staff user → Report review: reviews reports
- Staff user → Cross-cutting recommendations: consults recommendations
- Staff user → Audit log: consults audit log
- Staff user → Plan capture: captures plan
- Plan capture → HTTP API client: saves and submits
src/app/licenciatura/plan/page.tsx - Staff user → Goal configuration: configures goals
- Staff user → Evidence upload: uploads evidence
- Staff user → Observations and milestones: checks feedback
- Staff user → User profile: manages profile
- Notification center → HTTP API client: requests notifications
src/components/layout/NotificationPanel.tsx - HTTP API client → Demo data: uses demo data
src/lib/api.ts - HTTP API client → SSM backend: calls endpoints
- Plan capture → Shared data contracts: uses plan types
src/app/licenciatura/plan/page.tsx - SSM backend → Shared data contracts: shares DTO contract
src/lib/types.ts