Infrastructure
47 components in the infrastructure layer
Infrastructure components provide foundational utilities, system integrations, and supporting functionality for the application.
HTTP client wrapper for the Flutter app that automatically attaches the JWT access token to outgoing requests and handles transparent token ...
Infrastructure wrapper around the BankID/Criipto OIDC provider integration on the Flutter client side. Manages PKCE flow construction, secur...
Flutter infrastructure component that registers and processes deep link URIs used as OAuth redirect callbacks. Handles both the Vipps redire...
HTTP client configured for the Vipps MobilePay Login API (sandbox and production endpoints). Manages client credentials, constructs OIDC req...
Next.js API route middleware that validates JWT role claims on every protected endpoint and enforces minimum required roles server-side. Mai...
Parses incoming deep-link URIs (e.g. meander://register?contactId=xyz) and extracts pre-population parameters. Invoked during app routing to...
Flutter platform channel bridge that exposes native calendar APIs to Dart. Implements the EventKit-backed MethodChannel handler in Swift/Obj...
Shared HTTP client used across all mobile features to communicate with the Next.js backend. Handles JWT token injection, refresh logic, and ...
S3-compatible object storage bucket that holds uploaded receipt image files. Objects are stored with a deterministic key scheme (e.g. org/{o...
Shared REST API client that attaches the authenticated JWT token to all outgoing requests. Handles token refresh on 401 responses and forwar...
Backend REST API endpoint serving filtered and paginated note queries scoped to the authenticated user. Enforces multi-tenancy via applicati...
REST API route handler exposing report generation and preview endpoints under /api/v1/reports/bufdir. Enforces organization-scoped JWT autho...
Low-level HTTP client wrapper for outbound calls to external accounting system APIs. Handles request signing, timeout configuration, TLS ver...
Scheduled backend job (cron) that queries for assignments where no contact has been established within 10 days of dispatch. Emits a push not...
Platform abstraction over iOS Keychain and Android Keystore for securely persisting the peer mentor's private encryption key. Ensures the pr...
Abstraction layer over platform-specific push delivery providers (FCM for Android via firebase-admin, APNs for iOS via node-apn or FCM HTTP ...
Queue-based dispatcher that abstracts over email and SMS provider SDKs, handling retry logic, exponential back-off, dead-letter queuing, and...
Vercel Cron Job configuration that triggers the Scenario Engine Service on a defined schedule (e.g., every 15 minutes or hourly). Provides t...
Configures and resolves deep links for invite URLs using Firebase Dynamic Links or platform Universal Links / App Links. Ensures that tappin...
Flutter REST API client providing typed access to the referral summary and listing endpoints. Part of the shared HTTP client layer but confi...
Flutter REST client handling all HTTP communication for the course registration feature. Wraps the shared JWT HTTP Client with endpoint-spec...
Server-side utility that renders a styled PDF or image representation of a peer mentor certificate for sharing via Flutter's platform share ...
Thin adapter wrapping the platform-wide encryption service for workshop note content. Ensures notes stored in the notes table are encrypted ...
Cron-based job (hosted on Vercel or a separate scheduler) that triggers batch annual summary generation for all active users in late Decembe...
Infrastructure component that subscribes to domain events (activity saved, course enrollment completed, certification awarded) and asynchron...
Typed REST client wrapper that calls the Calculator Service benefit-config endpoint and handles authentication headers, error mapping, and r...
Flutter CI configuration and test harness that runs accessibility assertions on every pull request using flutter_test semantics APIs. Execut...
Collection of Application Resource Bundle (ARB) files that serve as the single source of truth for all translatable strings in the Meander M...
REST API client for the /api/v1/dashboard endpoint, attaching JWT Bearer tokens and role-scoped query parameters to all requests. Handles HT...
Thin Flutter adapter wrapping the url_launcher package to open external URLs in the device's default system browser. Abstracts the package A...
Wraps platform keychain (iOS Keychain, Android Keystore) and Flutter Secure Storage to provide transparent encryption and decryption of all ...
Wraps the flutter_workmanager plugin to abstract platform-specific background task scheduling across Android and iOS. Registers the periodic...
ISR and stale-while-revalidate caching configuration for KPI API routes in Next.js. Manages short-lived cache headers and revalidation inter...
Defines the mapping between source table event types and their normalized FeedItem representations, including icon, label, accent color, and...
Next.js API route middleware enforcing multi-tenancy on all /api/v1/users endpoints. Extracts authenticated admin context from JWT, scopes e...
Shared infrastructure service that writes structured audit log entries to the audit_logs table. Used by role assignment and any other admin ...
Infrastructure utility that handles server-side file generation and HTTP streaming for the Bufdir export artifact. Sets appropriate Content-...
Infrastructure utility providing AES-256-GCM encryption and decryption for sensitive organization settings fields such as integration API ke...
Client-side cache on the Flutter mobile app that stores the resolved terminology map fetched at login. Provides synchronous label resolution...
Client-side cache in the Flutter mobile app that stores the flag map fetched at login. All conditional UI rendering checks this local cache ...
HTTP endpoint receiving inbound push events from the external Dynamics portal. Validates payload signatures, acknowledges delivery immediate...
Low-level HTTP client used exclusively by the accounting integration adapters for making authenticated REST calls to Xledger and Dynamics en...
Scheduled background job that enforces the configurable log retention policy by deleting entries older than the configured threshold. Requir...
Thin wrapper around Vercel Analytics or Plausible for tracking page views and CTA click events on the sales website. Provides a privacy-frie...
Next.js metadata configuration for the Feature Overview page covering Open Graph tags, canonical URL, and structured page title/description....
Ensures the Terms of Service page is registered in the Next.js sitemap for search engine indexing. Configures crawlability and canonical URL...
Shared Next.js layout component used across all static legal pages (Privacy Policy, Terms of Service, DPA, Cookie Policy, SLA). Provides con...
Other Component Types
User Interface components handle presentation logic, user interactions, and visual elements of the application.
Service Layer components contain business logic, orchestrate operations, and provide core application functionality.
Data Layer components manage data persistence, storage operations, and data access patterns throughout the application.