Skip to content

System Architecture

HelpmApp is built with a focus on offline-first resilience, ultra-low-cost scalability, and high-velocity data processing.

Core Infrastructure

The platform leverages a modern serverless stack to maintain zero infrastructure overhead while supporting nationwide scale.

ComponentTechnologyRationale
ComputeVercel Edge / ServerlessGlobal distribution and near-zero cold starts.
DatabaseSupabase (PostgreSQL)Native RLS (Row Level Security) and robust relational integrity.
StateTanStack QueryEfficient caching and synchronization between Server and Client.
PWASerwist / IndexedDBReliable offline capability for users in low-connectivity areas.

Data Flow

mermaid
graph TD
    User([User Device]) -->|Offline Store| IDB[(IndexedDB)]
    User -->|API Requests| Vercel[Vercel Edge Functions]
    Vercel -->|Query| DB[(Supabase Postgres)]
    Vercel -->|Notifications| Slack(Slack Bot)
    Worker[Background Worker] -->|Enrichment| Hermes[AI Models]
    Hermes --> DB

Security Model

  1. Identity: Handled via Supabase Auth (JWT).
  2. Access Control: Enforced at the database level via Postgres RLS.
  3. Auditability: Every write operation is logged through the AuditLog table.

Community Interest Company | helpmapp@proton.me | X | Instagram | Substack