How lautacampo/escuela works
This is a school academic-management system. Users enter through the React application, authenticate and use role-restricted workflows for students, staff, attendance, grades, curriculum and reports; the frontend API client communicates with the Express backend, which exposes those workflows over PostgreSQL-backed services. The README also identifies public pre-enrollment and a forum, represented as frontend capabilities. Relationships are limited to those shown in excerpts, the source index or README; backend service-to-repository wiring and several frontend page-to-service links were not sampled.
Main entry points: app.js Express application · router.jsx Application routes · features Frontend workflows · db.js PostgreSQL
Components 22
Web application
- React application
frontend/src/App.jsx - Application routes
frontend/src/router.jsx - Home, pre-enrollment and forum
frontend/src/features - Management dashboard
frontend/src/features/gestion/pages/DashboardPage.jsx - Frontend workflows
frontend/src/features
Access and API
- Login and session
frontend/src/features/auth/services/authServices.js - HTTP API client
frontend/src/shared/services/api.js - Authentication routes
backend/src/modules/auth/auth.routes.js - Authentication service and repository
backend/src/modules/auth/auth.service.js - Token verification
backend/src/middlewares/verificarToken.js - Role authorization
backend/src/middlewares/permitirRoles.js
Academic operations
- Student records and enrollment
backend/src/modules/alumnos - Attendance
backend/src/modules/asistencias - Grades and evaluations
backend/src/modules/calificaciones - Study plans and courses
backend/src/modules/planestudios
School administration
- Teacher management
backend/src/modules/docentes - Preceptor management
backend/src/modules/preceptores - Attendance and grade reports
backend/src/modules/reportes
Runtime and data
- Express application
backend/src/app.js - PostgreSQL
backend/src/config/db.js - Schema and startup migrations
backend/src/config/esquema.js
Other components
- School user
Connections 25
- School user → React application: uses
frontend/src/App.jsx - React application → Application routes: renders
frontend/src/App.jsx - Application routes → Home, pre-enrollment and forum: routes to
frontend/src/router.jsx - Application routes → Management dashboard: routes to
frontend/src/router.jsx - Application routes → Login and session: guards with
frontend/src/router.jsx - Login and session → HTTP API client: requests login
frontend/src/features/auth/services/authServices.js - HTTP API client → Express application: HTTP requests
README.md - Express application → Authentication routes: mounts
backend/src/app.js - Authentication routes → Authentication service and repository: routes to
backend/src/modules/auth/auth.service.js - Authentication service and repository → PostgreSQL: queries users
- Express application → Student records and enrollment: mounts routes
backend/src/app.js - Express application → Attendance: mounts routes
backend/src/app.js - Express application → Grades and evaluations: mounts routes
backend/src/app.js - Express application → Study plans and courses: mounts routes
backend/src/app.js - Express application → Teacher management: mounts routes
backend/src/app.js - Express application → Preceptor management: mounts routes
backend/src/app.js - Express application → Attendance and grade reports: mounts routes
backend/src/app.js - Express application → Token verification: uses middleware
- Express application → Role authorization: uses middleware
- Token verification → PostgreSQL: checks account
backend/src/middlewares/verificarToken.js - Express application → Schema and startup migrations: initializes schema
backend/src/app.js - Schema and startup migrations → PostgreSQL: runs migrations
backend/src/config/esquema.js - Attendance → Frontend workflows: supports attendance UI
README.md - Grades and evaluations → Frontend workflows: supports grade UI
README.md - Attendance and grade reports → Frontend workflows: provides reports
backend/src/modules/reportes/reportes.routes.js