How savior-arch/fudam_app works
FUDAM is a Taekwondo club management app: instructors and administrators manage classes, attendance, monitor hours, exams, students, and events; students scan class QR codes, follow promotion eligibility, and receive notices. The main flow runs through the browser, the Spring API, and PostgreSQL. Domain controllers delegate selected workflows to services, while shared database and request-authentication components support the API. The README also documents an optional Node API. Some subsystem links below rely on README statements; unsampled implementation details are not asserted.
Main entry points: Db.java SQL access · AuthController.java Login and roles · ClaseController.java Classes and attendance · AscensoService.java Exam workflows
Components 23
Browser app
- Web interface
FUDAM_APP/fudam-app/frontend/js/app.js - API client
FUDAM_APP/fudam-app/frontend/js/api.js
Spring API
- Alternate Node API
FUDAM_APP/fudam-app/api-node/server.js
Club workflows
- Login and roles
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/controladores/AuthController.java - Student records
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/controladores/EstudianteController.java - Classes and attendance
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/controladores/ClaseController.java - Attendance handling
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/servicios/ClaseService.java - Promotion eligibility
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/controladores/AscensoController.java - Exam workflows
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/servicios/AscensoService.java - Events and enrollment
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/controladores/EventoController.java - Event publishing
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/servicios/EventoService.java - Reports
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/controladores/ReporteController.java - Club catalogs
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/controladores/CatalogoController.java
API support
- Notifications
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/servicios/Notificador.java - Request authorization
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/seguridad/AuthInterceptor.java - Web configuration
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/config/WebConfig.java - SQL access
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/comun/Db.java - Shared queries
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/comun/Consultas.java - Request parsing
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/comun/Json.java - API errors
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/comun/ApiException.java
Persistence
- PostgreSQL database
FUDAM_APP/fudam-app/sql/01_esquema.sql
Other components
- Instructors and admins
- Students
Connections 28
- Instructors and admins → Web interface: manages club
- Students → Web interface: scans and views
- Web interface → API client: uses API client
- API client → Login and roles: sends requests
- Login and roles → Student records: serves requests
- Login and roles → Classes and attendance: serves requests
- Login and roles → Promotion eligibility: serves requests
- Login and roles → Events and enrollment: serves requests
- Classes and attendance → Attendance handling: delegates attendance
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/controladores/ClaseController.java - Promotion eligibility → Exam workflows: delegates exams
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/controladores/AscensoController.java - Events and enrollment → Event publishing: delegates publishing
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/controladores/EventoController.java - Exam workflows → Notifications: sends notices
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/servicios/AscensoService.java - Event publishing → Notifications: sends notices
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/servicios/EventoService.java - Web configuration → Request authorization: registers interceptor
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/config/WebConfig.java - Student records → SQL access: queries records
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/controladores/EstudianteController.java - Classes and attendance → SQL access: queries classes
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/controladores/ClaseController.java - Attendance handling → SQL access: writes attendance
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/servicios/ClaseService.java - Exam workflows → SQL access: reads and updates
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/servicios/AscensoService.java - Event publishing → SQL access: writes event data
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/servicios/EventoService.java - Notifications → SQL access: stores notices
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/servicios/Notificador.java - Request authorization → SQL access: checks sessions
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/seguridad/AuthInterceptor.java - Reports → SQL access: queries reports
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/controladores/ReporteController.java - Club catalogs → SQL access: queries catalogs
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/controladores/CatalogoController.java - SQL access → PostgreSQL database: reads and writes
- Exam workflows → Shared queries: uses shared SQL
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/servicios/AscensoService.java - Student records → Request parsing: parses input
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/controladores/EstudianteController.java - Classes and attendance → API errors: raises errors
FUDAM_APP/fudam-app/api-spring/src/main/java/co/fudam/app/controladores/ClaseController.java - Instructors and admins → Alternate Node API: optional API