31
Total Infrastructure
6
Low Complexity
14
Medium Complexity
11
High Complexity

Infrastructure components provide foundational utilities, system integrations, and supporting functionality for the application.

Supabase Auth

The Supabase platform's built-in authentication service providing email/password identity management, secure JWT session tokens, email OTP/m...

low Email & Password Login
BankID API Gateway

Low-level HTTP client for all communication with the BankID OIDC provider. Handles authorization endpoint construction, token endpoint reque...

high BankID & Vipps Authentication
Vipps API Gateway

Low-level HTTP client for communication with the Vipps Login OIDC provider. Handles authorization URL construction with Vipps-specific scope...

high BankID & Vipps Authentication
Speech API Gateway

Platform abstraction layer that wraps the speech_to_text Flutter package and the underlying native speech recognition engines (SFSpeechRecog...

medium Speech-to-Text Input
File Storage Backend

Supabase Storage bucket infrastructure for activity documents with RLS policies restricting access to members of the owning organization. Co...

medium Document Attachment to Activities
Certificate Expiry Scheduler

Supabase Edge Function that runs on a daily cron schedule to check certification expiry dates across all HLF peer mentors. Automatically upd...

medium Peer Mentor Pause & Availability
Encryption Infrastructure

Device-level and platform-level encryption infrastructure combining Flutter Secure Storage for private key persistence and Supabase Edge Fun...

high Encrypted Task Assignment to Peer Mentors
Push Notification Gateway

Shared infrastructure component that dispatches push notifications to mobile devices via FCM or APNs, invoked by the Assignment Reminder Ser...

medium Encrypted Task Assignment to Peer Mentors
Maps API Integration

Infrastructure layer that configures flutter_map with OpenStreetMap tile providers to avoid Google Maps licensing costs and privacy concerns...

medium Geographic Matching & Map View
Distance Validation Utility

Utility that provides mileage distance validation logic and optional route distance estimation to prevent implausible kilometre claims. Supp...

low Travel Reimbursement Registration
Image Storage Backend

Supabase Storage bucket configuration and access-policy layer for receipt images. Enforces row-level security so that only the owning user a...

medium Receipt Upload & Management
Supabase Edge Function Runtime

Supabase platform infrastructure supporting the auto-approval Edge Function triggered on insert to travel_expense_reports. Provides the serv...

medium Reimbursement Approval Workflow
Document Signing Infrastructure

Infrastructure component handling secure storage and retrieval of signed NDA documents and signature images in Supabase Storage under a rest...

high Driver Honorarium & NDA Management
Bufdir API Integration

Infrastructure component managing communication with Bufdir's external endpoints once they become available. Handles authentication, request...

high Bufdir Automated Reporting
Assignment Count Database Trigger

Supabase PostgreSQL database trigger that automatically increments the denormalized assignment count on the peer_mentors record whenever a n...

low Assignment Counting & Honorarium Tracking
Secure Key Store

Device-level secure storage adapter using Flutter Secure Storage to persist private encryption keys in the iOS Secure Enclave and Android Ke...

medium Encrypted Assignment Dispatch
Assignment Realtime Subscription

Supabase Realtime subscription manager that streams assignment state changes to coordinator clients without polling. Manages subscription li...

medium Assignment Status Tracking
Reminder Cron Edge Function

Supabase Edge Function deployed with a pg_cron schedule (e.g., daily at 08:00 UTC) that invokes the Auto Reminder Service scan. Configured v...

low Assignment Status Tracking
Impact Summary Trigger Config

Configuration store that manages the trigger dates, period types, and organisation-level feature flags controlling when and how impact summa...

low Yearly Impact Summary
Referral Link Edge Function

Supabase Edge Function that resolves incoming referral short URLs, decodes the encoded user ID and organisation slug, and pre-fills the regi...

medium Member Recruitment
Certificate Storage

Supabase Storage bucket integration for secure hosting of digital certificate asset files (PDFs, images). Manages signed URL generation for ...

medium Digital Certificate Management
Admin Audit Edge Function

Supabase Edge Function that intercepts administrative write operations and appends immutable audit entries to the audit store. Executes serv...

medium Admin Portal
Membership RLS Policy Configuration

Supabase Row Level Security policy definitions that govern cross-organization data access for multi-membership users. Policies are carefully...

high Multi-Organization Membership Handling
Org Structure RLS Policy

Supabase Row Level Security policies that restrict write access on org hierarchy tables to admin-level users only, while allowing read acces...

medium Organization Structure Management
Label Keys Constants

Dart constants file defining all supported label keys and their default values. Ensures type safety across the entire app by preventing typo...

low Organization Labels & Terminology
Secure Document Storage

Infrastructure component managing encrypted file storage for sensitive legal and medical documents using Supabase Storage with server-side e...

high Power of Attorney & Documentation Digitization
Accounting API Gateway

Supabase Edge Function layer that abstracts both the Xledger REST API and the Microsoft Dynamics OData API behind a common interface. Keeps ...

high Accounting System Integration
Member System API Gateway

Unified HTTP gateway layer that abstracts communication with external member management systems (Cornerstone and Consio). Handles API key ma...

high Member System Integration
Portal Webhook Infrastructure

Supabase Edge Function endpoint that receives inbound webhook payloads from the HLF Dynamics portal, validates HMAC signatures to authentica...

medium External Portal Coordination
Edge Functions

TypeScript/Deno server-side functions deployed on Supabase Edge Functions infrastructure for processing that must not expose API keys to mob...

high Supabase Backend Core
Supabase Platform

The hosted Supabase project instance providing PostgreSQL database, Auth, Realtime, Storage, and Edge Functions infrastructure. Configured w...

high Supabase Backend Core