Experiences Subgraph
The Experiences subgraph is the Feature Plane within our Progressive Vertical Extraction architecture. It provides self-contained, cross-vertical modules that add rich business logic to Malets and Products.
Port:
3020ยท Federation: Apollo v2 ยท Database: MongoDB (experiencesDB)
Two-Plane Architecture
We split vertical configuration from feature logic:
- Control Plane (
maletssubgraph): Owns what features are enabled via feature flags and UI layout slots. - Feature Plane (
experiencessubgraph): Owns how the features actually work, persisting state and exposing business logic APIs.
This separation allows an Experience module (e.g., Event Ticketing) to be used by multiple Malet verticals (e.g., Entertainment and Culture) without copying code.
Capabilities & Modules
The subgraph currently houses 13 isolated modules. Each module is fully self-contained (no cross-module imports) to allow seamless extraction into dedicated vertical subgraphs in the future.
Core Modules
- Event Ticketing: Manages
Evententities and QR-code checkedEventTicketissuance. Integrates closely with the Services subgraph. - Credit Wallet: Provides an idempotent
CreditWalletfor users to store and spend digital balances at specific Malets. Supports atomic balance deductions. - Gamified Loyalty: Tracks
VisitorLoyaltypoints, tiers, and achievements based on Murchases and visit frequency.
Vertical-Specific Extracted Capabilities
- Professional:
Client Portal(engagement lifecycle) andDocument Vault(secure metadata tied to Media files). - Wellness:
Membership(subscriptions and session quotas) andWellness Profile(intake forms and private practitioner notes). - Culture:
Exhibition(curation of artworks) andArtist Profile(public showcase pages). - Tech:
Spec Sheet(detailed product properties) andWarranty(claim tracking and lifecycle). - Arcade:
Digital Vault(license key distribution) andGame Profile(system requirements).
Configuration
The experiences subgraph requires the following environment variables:
EXPERIENCES_SERVICE_PORT: Defaults to3020.EXPERIENCES_SERVICE_URL: Used by the Gateway for schema composition.DB_URI: MongoDB connection string.
Related Documentation
- Experiences Authorization โ Review the role-based access control and permissions matrix for all experiences modules
- Progressive Vertical Extraction Pattern
- Developer Platform Webhooks