Your existing database, as forms in your own application, under your own rules.
Formancy Data turns an existing PostgreSQL or Microsoft SQL Server database into forms in your own React or Angular application. It reads the database as the account you connect it with, generates each form from what that account may do, and serves the form's records under rules the server asks on every request, with the identity your application already has. It is self-hosted, source-available and paid for production use, and built on the Apache-2.0 formancy engine.
- Your database as it is. No schema of its own, and what the account cannot see is said, never taken as absent. A form updates and deletes only where a stale save can be told: by SQL Server's rowversion, or by a version column every writer increments, which a PostgreSQL table needs.
- Your rules, on every request, with your application's own token, verified offline: no users, passwords or sessions of its own.
- A schema change is checked against each published form, and the server refuses what it blocks rather than writing past it.
- Proved on real servers. No mocked driver: every adapter behaviour is tested against real PostgreSQL and SQL Server in every CI run.
The host page, an example of your application's own page, as clara, a clerk of tenant 1, sees it: the orders on “Online orders”, a list view an administrator named, and the open order's deliveries in a tab beside it, each row what the server answered her under the form's policy (0047). The orders, the deliveries and three of the customers are invented, inserted by the capture script; Muster AG is the test fixture's.
The screenshots in this README are taken by pnpm pictures from the built pages and the real data server, and the pictures job fails when one of them shows text the page no longer shows; the sketch in How it works is drawn by hand (how, and what nothing checks).
- The live demo: the host page over a server and a PostgreSQL of your own, with sample data; what you change is gone when your server stops (how it runs).
- The examples page: forms generated in your browser and drawn by both renderers, with no server (what it shows).
What each package holds, and may import, is in the building blocks.
- Connect. The studio discovers an allowlisted database as the account its connection names.
pg, discovered as the order form's own account. What an account cannot see is said as a gap, never taken as absent, and here there was none (0004).
- Generate. The generator makes a form of a root table and its lookups, and says what it chose.
sales.order as the root and its customer key as a lookup. The generator says what it made of each from what this account may do (0009).
- Govern and arrange. A policy says who may do what; labels, order and views are a patch over the form.
By the roles your application's tokens already carry: clerk reads, creates and updates, and nobody deletes (0011): “A role granted an operation the form does not offer is refused.”
- Publish. Every version is kept, nobody overwrites anybody, and a second person's approval can be required.
One bundle, which the server checks again before it writes: “Published version 1 of pg-order.” This server has no publisher roles; with them, a second person approves each draft (0065).
- Run. Your pages ask the runtime plane through
@formancy/data-clientand draw each form with@formancy/reactor@formancy/angular.
The order from the top of this page, drawn by React for its update: the fields written on create only are disabled, and its deliveries are the tab beside it (0122).
What main does, in short; What it does
says each with the record that holds it, and the studio's
and host page's pages picture them.
- Lists, searched, sorted and filtered inside the read policy, with views an administrator names and views a person keeps, and the open record edited in its row, saved as its form saves it.
- Lookups offering only the rows a person may choose, checked again on save.
- Child records in tabs beside their parent, as a tree, or a level at a time.
- Saves that overwrite nobody: exact values digit for digit, a record and its rows in one transaction, and a lost answer said, never sent again.
- Actions: a routine your database keeps, run over the open record or the records a person chose, in one transaction.
- Deletes, copies and CSV files -- the records a person chose changed or deleted together, each named that was not -- and rules a record keeps: status moves by role, versions from a date, and your triggers' own refusals.
- The studio, for every step from connecting to drift, with review by a second person where you want it.
- Operations: one signed image, the whole stack from one command, an audit event per request, and keys rotated without a restart.
- No undo, and no file or copy of a record with its children.
- An action, or a change or a deletion of chosen records, covers at most one page of them at a time.
- A SQL Server older than 2019 cannot be discovered; no test runs on Azure SQL or logs in as an Entra principal.
- No host page on another origin has run in a browser, and nothing through a real Cloudflare Tunnel.
- The performance figures are 0.1.0's, and there are none for a page of records, a file of them, the menu of forms, a delete, a save or an action.
- No lawyer has reviewed the licence.
The host page's guide says what else its page does not do, and the status page what is not yet measured.
On your machine, with Docker and git: docker compose --profile stack up
runs both databases with sample data, the server, the studio and the host
page, and the getting-started guide, which CI
runs as written, goes on to a published form. Starting it accepts the EULA
of SQL Server's Developer edition, which is not licensed for production.
In your application: run the server, the signed image
ghcr.io/sharkysan/formancy-data-server or @formancy/data-server from
npm, as its README says; draw its forms
with @formancy/data-client and @formancy/react or @formancy/angular
(Packages); and build the studio from this
repository, which does not publish it (Studio).
0.5.0, released on 2026-11-22, is the latest release. This page
describes main, which the examples page and the live demo are deployed
from; the status page says what 0.5.0 added and
what is not yet measured, and CHANGELOG.md's
Unreleased what main has added since.
Source-available, not open source. The formancy engine, renderers, builder and backend this module builds on stay Apache-2.0; this module does not.
| Use | Terms |
|---|---|
| Read the source and fork the repository | Free |
| Evaluate, develop and test — including in companies | Free |
| Run in production, internally or customer-facing | Paid licence |
| Redistribute inside another software product | Separate commercial agreement |
| Customer data and generated form definitions | Remain the customer's |
LICENSE.md has the terms. It is Version 1.1, in force from 11 October 2026, and says at the top that no lawyer has reviewed it. A production licence is requested from info@formancy.ai, as its section 9 says.
Why a paid module sits beside an Apache-2.0 project is 0001; Packages says how the licence came into force and what the built apps carry.
- What it does, Status, Packages, Deploying, What it is tested on and Development — the guide.
- Studio, Host example, Examples and Live demo — each app, pictured, and how to run it.
docs/getting-started.md,docs/setup.md,docs/deploy/cloudflare.mdanddocs/performance.md— running it, setting it up, behind Cloudflare, and what it costs.docs/README.md— the architecture in arc42's twelve sections, the decisions, the release report and the pictures.CHANGELOG.md,CONTRIBUTING.mdandCLA.md,SECURITY.mdandRELEASING.md.





