How ravichhabra1501-prog/land-validation works
BhumiRecord AI is a land-record digitization and administration portal. Officers enter scanned records or use QR lookup, then review and validate records, manage changes, and inspect land records and cadastral maps; the app also supports citizen appointments, reporting, and offline operation. The shown App code loads cached or sample records, validates them, and queues offline edits for later cloud synchronization. Several feature links are based on indexed references rather than shown call sites, so those links are marked unverified; the README is empty.
Main entry points: App.tsx Portal shell · landRecordService.ts Validation engine · VerificationStationView.tsx Verification station · CadastralGisView.tsx Cadastral GIS
Components 22
Portal and access
- Portal shell
src/App.tsx - Sign-in
src/components/LoginView.tsx - Records dashboard
src/components/DashboardView.tsx - Citizen appointments
src/components/CitizenFeedbackScheduleView.tsx - Appointment samples
src/data/sampleAppointments.ts
Record processing
- Document ingestion
src/components/DocumentIngestionView.tsx - QR scanner
src/components/QrCodeScannerModule.tsx - Record datasets
src/data/sampleRecords.ts - DILRMP master data
src/data/dilrmpDatabase.ts
Review and reporting
- Validation engine
src/services/landRecordService.ts - Verification station
src/components/VerificationStationView.tsx - Validation rules
src/components/ValidationRulesView.tsx - Modification history
src/utils/modificationHistoryUtils.ts - Change log
src/utils/changeLogUtils.ts - Archival PDF service
src/services/archivalPdfService.ts
Cadastral information
- Cadastral GIS
src/components/CadastralGisView.tsx - Google map view
src/components/CadastralGoogleMapView.tsx - Cadastral plots
src/data/cadastralPlotsData.ts - Village specifications
src/data/revenueVillageSpecifications.ts
Storage and sync
- Offline cache
src/services/offlineStorage.ts - Firebase service
src/services/firebase.ts
Other components
- Officer or citizen
Connections 26
- Officer or citizen → Portal shell: uses portal
src/App.tsx - Portal shell → Offline cache: loads and saves
src/App.tsx - Portal shell → Validation engine: runs validation
src/App.tsx - Portal shell → Firebase service: syncs pending edits
src/App.tsx - Portal shell → Sign-in: routes to
src/App.tsx - Portal shell → Records dashboard: routes to
src/App.tsx - Portal shell → Document ingestion: routes to
src/App.tsx - Document ingestion → QR scanner: offers scan mode
src/components/DocumentIngestionView.tsx - Document ingestion → Validation engine: submits records
src/components/DocumentIngestionView.tsx - QR scanner → DILRMP master data: looks up records
src/components/QrCodeScannerModule.tsx - QR scanner → Validation engine: uses record service
src/components/QrCodeScannerModule.tsx - Validation engine → DILRMP master data: cross-checks
src/services/landRecordService.ts - Portal shell → Record datasets: loads initial records
src/App.tsx - Portal shell → Verification station: routes to
src/App.tsx - Portal shell → Validation rules: routes to
src/App.tsx - Verification station → Validation engine: generates DILRMP XML
src/components/VerificationStationView.tsx - Verification station → Modification history: uses history rules
src/components/VerificationStationView.tsx - Verification station → Change log: uses change log
src/components/VerificationStationView.tsx - Verification station → Archival PDF service: uses archival reports
src/components/VerificationStationView.tsx - Validation rules → Validation engine: uses validation engine
src/components/ValidationRulesView.tsx - Portal shell → Cadastral GIS: routes to
src/App.tsx - Cadastral GIS → Google map view: embeds map view
src/components/CadastralGisView.tsx - Cadastral GIS → Cadastral plots: uses plot data
src/components/CadastralGisView.tsx - Cadastral GIS → Village specifications: uses village data
src/components/CadastralGisView.tsx - Portal shell → Citizen appointments: routes to
src/App.tsx - Citizen appointments → Appointment samples: uses appointment samples
src/components/CitizenFeedbackScheduleView.tsx