How philimones-group/hds-explorer-server works
HDS-Explorer Server is a Grails web application providing a data repository and management tool for Health and Demographics Surveillance System data. Users manage surveillance records and collection-related workflows through the server; a separate dashboard presents demographic totals, form-status summaries, and charts. The tree documents raw collection, reconciliation, event synchronization, settings, reporting, and authentication subsystems, but their internal call paths were not sampled. The graph therefore shows those capabilities as distinct server modules without inventing their wiring.
Main entry points: App.jsx Dashboard App · model Surveillance Data Models · raw Raw Collection Models · Home.jsx Surveillance Dashboard
Components 19
Dashboard UI
- Dashboard App
src/main/webapp/main-dashboard/src/App.jsx - Navigation
src/main/webapp/main-dashboard/src/components/Sidebar.jsx - Surveillance Dashboard
src/main/webapp/main-dashboard/src/pages/Home.jsx - Cards and Charts
src/main/webapp/main-dashboard/src/components - Dashboard Sample Data
src/main/webapp/main-dashboard/public/mockData.js
Data Operations
- Core Record Management
grails-app/controllers/org/philimone/hds/explorer/server/model/main - Raw Data Import
grails-app/controllers/org/philimone/hds/explorer/server/model/collect/raw/api/RawImportApiController.groovy - Data Reconciliation
grails-app/controllers/org/philimone/hds/explorer/controllers/DataReconciliationController.groovy - Event Synchronization
grails-app/controllers/org/philimone/hds/explorer/controllers/EventSyncController.groovy - Synchronization Files
grails-app/controllers/org/philimone/hds/explorer/controllers/SyncFilesController.groovy - Logs and Reports
grails-app/controllers/org/philimone/hds/explorer/controllers/LogReportController.groovy - Application Settings
grails-app/controllers/org/philimone/hds/explorer/controllers/SettingsController.groovy
Domain Data
- Surveillance Data Models
grails-app/domain/org/philimone/hds/explorer/server/model - Raw Collection Models
grails-app/domain/org/philimone/hds/explorer/server/model/collect/raw
Server Platform
- Dashboard Server Endpoints
grails-app/controllers/org/philimone/hds/explorer/controllers/DashboardController.groovy - User Authentication
grails-app/controllers/org/philimone/hds/explorer/server/model/authentication/UserController.groovy - Hibernate Database
Other components
- Web User
- ODK Collection
Connections 16
- Web User → Dashboard App: uses
- Dashboard App → Navigation: renders
src/main/webapp/main-dashboard/src/App.jsx - Dashboard App → Surveillance Dashboard: renders
src/main/webapp/main-dashboard/src/App.jsx - Dashboard App → Dashboard Server Endpoints: fetches translations
src/main/webapp/main-dashboard/src/App.jsx - Surveillance Dashboard → Cards and Charts: renders
src/main/webapp/main-dashboard/src/pages/Home.jsx - Cards and Charts → Dashboard Sample Data: reads chart data
src/main/webapp/main-dashboard/src/components/ChartBar.jsx - Core Record Management → Surveillance Data Models: manages records
- Raw Data Import → Raw Collection Models: stores imported data
- ODK Collection → Raw Data Import: submits collection data
- Data Reconciliation → Raw Collection Models: reviews raw data
- Event Synchronization → Surveillance Data Models: synchronizes events
- Synchronization Files → Raw Collection Models: handles sync files
- Logs and Reports → Hibernate Database: queries records
- Application Settings → Hibernate Database: persists settings
- User Authentication → Hibernate Database: checks accounts
- Surveillance Data Models → Hibernate Database: persists data
README.md