How uinsight-2026/u-insight works
u-insight is a sparse Spring Boot backend scaffold. The evidenced runtime supports teacher CRUD-style listing/creation and alert-rule creation/retrieval; the tree also marks broader academic and analytics domains, but README and sampled source do not establish their behavior. The dispersion mapper only shapes already-calculated values, and no caller is shown. Thus the graph focuses on implemented paths and leaves uncertain integrations out.
Main entry points: AlertRuleRepository.java Alert rule repository · TeacherRepository.java Teacher repository · AlertRuleController.java Alert rules API · TeacherController.java Teachers API
Components 12
HTTP APIs
- Spring application
backend/src/main/java/gt/edu/uinsight/UinsightApplication.java - Alert rules API
backend/src/main/java/gt/edu/uinsight/alertrule/controller/AlertRuleController.java - Alert rule service
backend/src/main/java/gt/edu/uinsight/alertrule/service/AlertRuleService.java - Teachers API
backend/src/main/java/gt/edu/uinsight/teacher/controller/TeacherController.java
Persistence
- Alert rule repository
backend/src/main/java/gt/edu/uinsight/alertrule/repository/AlertRuleRepository.java - Alert rule entity
backend/src/main/java/gt/edu/uinsight/alertrule/entity/AlertRule.java - Teacher repository
backend/src/main/java/gt/edu/uinsight/teacher/repository/TeacherRepository.java - Teacher entity
backend/src/main/java/gt/edu/uinsight/teacher/model/Teacher.java - JPA database
Analytics
- Dispersion mapper
backend/src/main/java/gt/edu/uinsight/analytics/dispersion/mapper/DispersionMapper.java - Dispersion response
backend/src/main/java/gt/edu/uinsight/analytics/dispersion/dto/response/DispersionResponse.java
Other components
- API client
Connections 12
- Spring application → Alert rules API: bootstraps HTTP
- Spring application → Teachers API: bootstraps HTTP
- API client → Alert rules API: sends requests
- API client → Teachers API: sends requests
- Alert rules API → Alert rule service: delegates
- Alert rule service → Alert rule repository: queries or saves
- Alert rule repository → JPA database: persists entity
- Alert rule repository → Alert rule entity: loads or saves
- Teachers API → Teacher repository: queries or saves
- Teacher repository → JPA database: persists entity
- Teacher repository → Teacher entity: loads or saves
- Dispersion mapper → Dispersion response: constructs