Tripla

Compose applications from services

Tripla is a full-stack TypeScript platform where data is modelled as JSON documents validated against JSON Schema, and behaviour is composed from a service framework with swappable connectors — so most of an application is configuration, not bespoke code.

Founding principles

Four ideas shape every part of the platform.
    Composable architecture
    Models are declared as JSON Schema; behaviour and workflows are composed from small, swappable services and configuration documents — assembled, not hand-coded, and reshaped at runtime without a deployment.
    Type safety, end to end
    Written entirely in TypeScript from the document store to the SDK and UI, with JSON Schema validation at the boundaries and inferred types across every layer.
    Service-oriented
    Capabilities are abstract service definitions; concrete connectors — SurrealDB, PostgreSQL, Express and more — are selected by configuration and swapped without touching business logic.
    Document-centric
    Every record is a JSON document validated against its model, with references, embedded documents and a transport- and store-agnostic query model.

How it fits together

Tripla is a monorepo of small, focused parts that compose into running apps.
    Packages
    The framework libraries — types, configuration, the loader, the service runtime and the plugin framework — each owning a single concern.
    Plugins
    Small capability plugins build on the packages: document-store and file-store connectors, logging, auth, scheduling, workflows and more.
    Apps
    The backend, admin and head apps assemble packages and plugins — the backend serves the API, while admin and head are Nuxt apps built with Nuxt UI.

Explore the documentation

Every top-level section, at a glance.
    Platform
    Concepts, the apps (backend, admin, head), the service architecture and how to build plugins.
    Core
    The concrete framework: packages, connectors, services, models and the reference.
    Authentication
    The auth substrate — actors, roles and policies, providers, sign-in and bot protection.
    Workflows
    Automate business rules from the Admin with triggers and sequential node pipelines.
    Diagnostics
    Health checks, metrics, instrumentation, profiling, log query and audit.
    Plugins
    The feature ecosystems: content, commerce and procurement.
    Licensing
    Encrypted artifacts, the licensing hub, client validation and air-gapped deployment.
    User Guide
    For administrators and authors: the editor, the designer, models and bulk operations.
Copyright © 2026