How cayelaemj/newchanges works
empower-fin is a multi-tenant financial-wellness portal. Users authenticate, then view employer or authorised portfolio analytics; administrators govern users, integrations, imports and operations. Source data is validated and assessed before it is committed, then snapshots feed dashboards and reports. A separate semantic-publication capability verifies and publishes stored objects. The graph combines README-documented product capabilities with sampled source and import references; several listed subsystems are unsampled, so their internal links are omitted rather than inferred.
Main entry points: server.ts Fastify API · syncService.ts Source synchronization · semanticObjectPipeline.ts Object publication pipeline · database.ts PostgreSQL access
Components 24
Portal surfaces
- Fastify API
src/server.ts - React dashboard
frontend/src/App.tsx - Brand Engine
public/brand-engine.js
Identity and administration
- Authentication
src/services/authService.ts - Admin MFA
src/services/adminMfaRoutes.ts - PostgreSQL access
src/services/database.ts - Admin governance
src/services/securityService.ts
Data integration
- Source adapters
src/services/sourceAdapter.ts - Source synchronization
src/services/syncService.ts - Import and validation
src/services/importService.ts - Data quality guardrails
src/services/dataQualityService.ts
Analytics and reporting
- MLOps governance
src/services/mlopsService.ts - Dashboard snapshots
src/services/snapshotBuilder.ts - Wellness scoring
src/services/scoreEngine.ts - Report formats
src/services/reportFormats.ts - Scheduled reports
src/services/reportScheduler.ts
Semantic publication
- Object publication pipeline
src/services/semanticObjectPipeline.ts - Object verification
src/services/semanticObjectVerification.ts - Semantic publisher
src/services/semanticPublisher.ts - S3 request broker
src/services/semanticS3Broker.ts - Storage settings
src/services/semanticStorageSettings.ts
Other components
- Portal users
- External source systems
- S3-compatible storage
Connections 28
- Portal users → Fastify API: uses portal
README.md - Fastify API → Authentication: authenticates
src/server.ts - Fastify API → Admin MFA: routes MFA
src/server.ts - Authentication → PostgreSQL access: stores sessions
src/services/authService.ts - Admin MFA → PostgreSQL access: uses persistence
src/services/adminMfaRoutes.ts - Portal users → React dashboard: opens workspace
README.md - React dashboard → Fastify API: requests dashboard data
frontend/src/App.tsx - External source systems → Source adapters: provides source data
README.md - Fastify API → Source synchronization: routes synchronization
src/server.ts - Source synchronization → Source adapters: reads sources
src/services/syncService.ts - Fastify API → Import and validation: routes imports
src/server.ts - Source synchronization → Import and validation: uses import handling
src/services/syncService.ts - Source synchronization → Data quality guardrails: assesses incoming data
src/services/syncService.ts - Source synchronization → MLOps governance: triggers assessments
src/services/syncService.ts - Fastify API → Dashboard snapshots: serves dashboard data
src/server.ts - Dashboard snapshots → PostgreSQL access: reads application data
src/services/snapshotBuilder.ts - Dashboard snapshots → Wellness scoring: computes wellness scores
src/services/snapshotBuilder.ts - Fastify API → Report formats: serves reports
src/server.ts - Scheduled reports → Report formats: formats scheduled output
- Fastify API → Admin governance: records security events
src/server.ts - Fastify API → Object publication pipeline: routes publication
- Object publication pipeline → Object verification: verifies object
src/services/semanticObjectPipeline.ts - Object publication pipeline → Semantic publisher: publishes manifest
src/services/semanticObjectPipeline.ts - Object publication pipeline → S3 request broker: obtains signed URLs
- S3 request broker → Storage settings: loads credentials
src/services/semanticS3Broker.ts - Object verification → S3-compatible storage: transfers object bytes
- Semantic publisher → PostgreSQL access: records publication
- Portal users → Brand Engine: uses partner themes
README.md