Skip to content

8-Layer Architecture

The platform implements the Device-Centric Trust Ledger architecture with eight layers:

LayerRole
1. User Device LayerPrimary authority; encryption, local decisions, offline operation
2. Local Trust VaultDevice-only sensitive data; AES-256, hardware secure enclave
3. Local Event Ledger CacheLocal events for Zakat, donations, document sharing, etc.
4. Secure Sync and ReconciliationEvent batching, signatures, conflict detection; no raw sensitive data
5. Backend Verification LayerVerifier and coordinator; validates signatures and Shariah rules
6. Domain Microservices LayerIdentity, Zakat, Charity Verification, Marketplace, Vendor Verification, Barcode Verification, Matrimonial (match tokens only), Messaging Relay, Hidayat Forum, Women Consultation, Document Vault
7. Global Integrity LedgerPrivate, append-only, hash-chained; integrity proofs only
8. Governance and AuditAdmin actions signed and ledger-recorded; observability

Components

  • Frontend: React Native + Web
  • Backend: Node.js / FastAPI (verification and coordination)
  • Microservices: Identity Service, Zakat Service, Charity Verification Service, Marketplace Service, Vendor Verification Service, Barcode Verification Service, Matrimonial Service (match token generation only), Messaging Relay (encrypted transport only, no persistence), Hidayat Forum Service, Women Consultation Service, Document Vault Service
  • Storage: Distributed Content Storage (private IPFS or encrypted object storage with hash addressing)
  • Database: PostgreSQL, Redis (operational data)
  • Analytics: Elasticsearch, Kibana

System Components and Microservices

HALAL SNS Platform Documentation - Phase 1