How nitinmall-1390/infralink works
InfraLink is presented as a business-identity intelligence platform: government records are ingested, matched and clustered into UBIDs, then supported by review, lifecycle, risk and reporting capabilities. The React app presents the dashboard and its feature panels; FastAPI routes expose the backend capabilities. Backend implementation excerpts are incomplete, so unverified subsystem connections are omitted rather than inferred.
Main entry points: main.py FastAPI router app · database.py Relational database · Dashboard.jsx Dashboard · upload.py Upload API
Components 29
Web interface
- App shell
src/App.jsx - Dashboard
src/components/dashboard/Dashboard.jsx - Entity resolution UI
src/components/dashboard/EntityResolution.jsx - Graph visualization
src/components/dashboard/GraphVisualization.jsx - UBID profile UI
src/components/dashboard/UBIDProfile.jsx - Review panel
src/components/dashboard/ReviewerPanel.jsx - Analytics panel
src/components/dashboard/AnalyticsPanel.jsx - Risk intelligence UI
src/components/dashboard/RiskIntelligence.jsx - CSV upload UI
src/components/dashboard/CSVUpload.jsx - Export menu
src/components/dashboard/ExportMenu.jsx
Record ingestion
- Upload API
backend2/backend2/entitynet-backend/app/api/upload.py - CSV parser
backend2/backend2/entitynet-backend/app/utils/csv_parser.py
Identity resolution
- Match API
backend2/backend2/entitynet-backend/app/api/match.py - Record matcher
backend2/backend2/entitynet-backend/app/services/matcher.py - Cluster API
backend2/backend2/entitynet-backend/app/api/cluster.py - Cluster assignment
backend2/backend2/entitynet-backend/app/services/clusterer.py - Review API
backend2/backend2/entitynet-backend/app/api/review.py - UBID API
backend2/backend2/entitynet-backend/app/api/ubid.py
Business intelligence
- Activity events API
backend2/backend2/entitynet-backend/app/api/events.py - Lifecycle API
backend2/backend2/entitynet-backend/app/api/lifecycle.py - Lifecycle evaluation
backend2/backend2/entitynet-backend/app/services/lifecycle_service.py - Analytics API
backend2/backend2/entitynet-backend/app/api/analytics.py - Anomaly API
backend2/backend2/entitynet-backend/app/api/anomalies.py - Notifications API
backend2/backend2/entitynet-backend/app/api/notifications.py - Audit API
backend2/backend2/entitynet-backend/app/api/audit.py - Export API
backend2/backend2/entitynet-backend/app/api/export.py
API and persistence
- FastAPI router app
backend2/backend2/entitynet-backend/app/main.py - Relational database
backend2/backend2/entitynet-backend/app/models/database.py
Other components
- Agency records
Connections 43
- App shell → Dashboard: renders
src/App.jsx - Dashboard → Entity resolution UI: renders
src/components/dashboard/Dashboard.jsx - Dashboard → Graph visualization: renders
src/components/dashboard/Dashboard.jsx - Dashboard → UBID profile UI: renders
src/components/dashboard/Dashboard.jsx - Dashboard → Review panel: renders
src/components/dashboard/Dashboard.jsx - Dashboard → Analytics panel: renders
src/components/dashboard/Dashboard.jsx - Dashboard → Risk intelligence UI: renders
src/components/dashboard/Dashboard.jsx - Dashboard → CSV upload UI: renders
- Dashboard → Export menu: renders
src/components/dashboard/Dashboard.jsx - Review panel → Review API: submits decisions
src/components/dashboard/ReviewerPanel.jsx - Agency records → CSV upload UI: supply records
- Upload API → CSV parser: parses files
backend2/backend2/entitynet-backend/app/api/upload.py - Upload API → Record matcher: matches records
backend2/backend2/entitynet-backend/app/api/upload.py - Upload API → Cluster assignment: assigns clusters
backend2/backend2/entitynet-backend/app/api/upload.py - Match API → Record matcher: runs matching
backend2/backend2/entitynet-backend/app/api/match.py - Cluster API → Cluster assignment: runs clustering
backend2/backend2/entitynet-backend/app/api/cluster.py - Cluster API → Record matcher: uses matching
backend2/backend2/entitynet-backend/app/api/cluster.py - Review API → Cluster assignment: reclusters approved
backend2/backend2/entitynet-backend/app/api/review.py - Lifecycle API → Lifecycle evaluation: evaluates status
backend2/backend2/entitynet-backend/app/api/lifecycle.py - FastAPI router app → Upload API: registers router
backend2/backend2/entitynet-backend/app/main.py - FastAPI router app → Match API: registers router
backend2/backend2/entitynet-backend/app/main.py - FastAPI router app → Cluster API: registers router
backend2/backend2/entitynet-backend/app/main.py - FastAPI router app → Review API: registers router
backend2/backend2/entitynet-backend/app/main.py - FastAPI router app → UBID API: registers router
backend2/backend2/entitynet-backend/app/main.py - FastAPI router app → Activity events API: registers router
backend2/backend2/entitynet-backend/app/main.py - FastAPI router app → Analytics API: registers router
backend2/backend2/entitynet-backend/app/main.py - FastAPI router app → Anomaly API: registers router
backend2/backend2/entitynet-backend/app/main.py - FastAPI router app → Audit API: registers router
backend2/backend2/entitynet-backend/app/main.py - FastAPI router app → Lifecycle API: registers router
backend2/backend2/entitynet-backend/app/main.py - FastAPI router app → Notifications API: registers router
backend2/backend2/entitynet-backend/app/main.py - FastAPI router app → Export API: registers router
backend2/backend2/entitynet-backend/app/main.py - Upload API → Relational database: persists records
backend2/backend2/entitynet-backend/app/api/upload.py - Match API → Relational database: accesses records
backend2/backend2/entitynet-backend/app/api/match.py - Cluster API → Relational database: accesses records
backend2/backend2/entitynet-backend/app/api/cluster.py - Review API → Relational database: reads and writes
backend2/backend2/entitynet-backend/app/api/review.py - UBID API → Relational database: accesses profiles
backend2/backend2/entitynet-backend/app/api/ubid.py - Activity events API → Relational database: accesses events
backend2/backend2/entitynet-backend/app/api/events.py - Lifecycle API → Relational database: accesses profiles
backend2/backend2/entitynet-backend/app/api/lifecycle.py - Analytics API → Relational database: queries metrics
backend2/backend2/entitynet-backend/app/api/analytics.py - Anomaly API → Relational database: queries records
backend2/backend2/entitynet-backend/app/api/anomalies.py - Audit API → Relational database: accesses audit data
backend2/backend2/entitynet-backend/app/api/audit.py - Notifications API → Relational database: accesses data
backend2/backend2/entitynet-backend/app/api/notifications.py - Export API → Relational database: queries export data
backend2/backend2/entitynet-backend/app/api/export.py