How reonesec/mmr-burwan works
MMR Burwan is a marriage-registration portal for applicants, agents, officials, and public certificate verifiers. Its main workflow runs from account access and application submission, through document handling, appointment and official review, to certificate issuance and public verification; messaging and agent/admin operations support that flow. The README documents the major capabilities and backend integrations. Source excerpts confirm selected application, authentication, storage, and certificate-generation calls; other links shown here are based on README descriptions, not inspection of unsampled implementations.
Main entry points: certificateGenerator.ts Certificate issuance · AdminDashboardPage.tsx Admin command center · router.tsx Portal routing · ApplicationFormContent.tsx Application wizard
Components 21
Access and portal
- Portal routing
router.tsx - Authentication
contexts/AuthContext.tsx
Applications and records
- Application wizard
components/application/ApplicationFormContent.tsx - Application records
services/application.ts - Document vault
services/documents.ts - Appointment booking
pages/appointments/BookAppointmentPage.tsx
Registrar operations
- Agent workspace
pages/agent/AgentDashboardPage.tsx - Admin command center
pages/admin/AdminDashboardPage.tsx - Application review
pages/admin/ApplicationDetailsPage.tsx - Audit records
services/audit.ts - Realtime messaging
pages/chat/ChatPage.tsx
Certificates and verification
- Certificate issuance
utils/certificateGenerator.ts - Certificate PDF
components/certificate/CertificatePDF.tsx - Public verification
pages/verify/VerifyPage.tsx
Shared platform
- Hybrid file storage
lib/storage.ts - Notifications
contexts/NotificationContext.tsx - Supabase services
lib/supabase.ts - Email functions
supabase/functions/send-verification-email/index.ts
Other components
- Applicant
- Registrar / admin
- Public verifier
Connections 26
- Applicant → Portal routing: opens portal
- Registrar / admin → Portal routing: opens portal
- Public verifier → Public verification: checks certificate
- Portal routing → Authentication: routes access
router.tsx - Portal routing → Application wizard: routes application
router.tsx - Applicant → Application wizard: submits details
- Application wizard → Application records: saves draft
components/application/ApplicationFormContent.tsx - Application wizard → Document vault: uploads proofs
components/application/ApplicationFormContent.tsx - Document vault → Hybrid file storage: stores files
services/documents.ts - Hybrid file storage → Supabase services: falls back
lib/storage.ts - Applicant → Appointment booking: books slot
- Registrar / admin → Admin command center: manages cases
- Agent workspace → Application records: creates applications
- Admin command center → Application review: reviews cases
- Application review → Application records: updates status
- Application review → Email functions: triggers notices
- Admin command center → Audit records: records actions
- Applicant → Realtime messaging: messages office
- Registrar / admin → Realtime messaging: replies to applicants
- Realtime messaging → Notifications: signals updates
- Admin command center → Certificate issuance: issues certificate
- Certificate issuance → Certificate PDF: renders PDF
utils/certificateGenerator.ts - Certificate issuance → Document vault: uploads certificate
utils/certificateGenerator.ts - Applicant → Certificate issuance: downloads certificate
- Public verification → Supabase services: checks records
- Certificate issuance → Public verification: enables verification