All Products
UltrClick ERP
Pilot / Coming Soon ARCHITECTURE / SYSTEM BLUEPRINT

Engineered for financial precision and decade-scale maintainability

An ERP earns trust years after launch — when order volumes grow, new subsidiaries open, and audits demand exact numbers. Every layer below is built for clarity and fail-closed safety.

Four-layer architecture: Client Surfaces, Typed API & Pack Registry, Rust Kernel & Packs, and PostgreSQL RLS + Document Engine
  1. LAYER 01

    Web & Hardened Desktop Clients

    Web Console · Security-Guarded Desktop Shell

    Keyboard-fast operational UI with strict CSP verification and server-authoritative capability pack route resolution.

  2. LAYER 02

    Typed API & Pack Registry

    Axum HTTP · OpenAPI Contract · erp-api.ultrclick.com

    Dedicated API service routed separately behind Cloudflare Tunnel with startup pack conflict checks and explicit capability auth.

  3. LAYER 03

    Rust Operations Kernel & Strategy SPI

    Checked Money & StrictDecimal · Capability Packs

    Compiled decimal arithmetic, optimistic record versioning, and clean Strategy traits for country tax, pricing, and packing rules.

  4. LAYER 04

    PostgreSQL RLS & In-Process Document Engine

    PostgreSQL 18 RLS · Typst PDF · Native .xlsx

    Transaction-scoped row-level tenant isolation paired with in-process Typst PDF typesetting and native Excel generation.

How the architecture delivers direct business value

RUST KERNEL

Checked currency math & optimistic concurrency

Orders, invoices, and inventory movements run on strict decimal currency types and checked record versions so concurrent edits and rounding drift cannot corrupt ledgers.

POSTGRESQL RLS

Database-enforced tenant boundaries

Every transaction binds an explicit tenant context at the PostgreSQL layer and fails closed if missing — isolating subsidiaries and customer workspaces by construction.

TYPST + EXCEL

Deterministic PDF & Excel output in milliseconds

Commercial invoices, packing lists, customs sheets, and financial workbooks render directly in-process via Typst and native Excel writers without brittle headless browsers.

DESKTOP & API

Clean deployment boundary & AI-ready contracts

Public documentation stays static at the edge while the operations API serves separately over a dedicated single-level subdomain behind Cloudflare Tunnel with capability-gated surfaces.