Quadrava CE
Business and admin front ends, described in JSON.
Describe what a screen shows and which API each button calls: Quadrava turns it into a working web application, with sign-in, permissions, tracing and errors already handled in one place. Without writing a line of Angular.
The idea
Like a recipe: you write the ingredients, the kitchen cooks the dish
Business applications are full of screens that look alike: a list with filters, a form to fill in, a detail page with a few buttons. Building them by hand every time costs time and multiplies mistakes. With Quadrava a screen is a document: you write it, you check it, and a single engine puts it on stage the same way every time, secure and accessible.
Describe
Components, data sources and actions in readable JSON, with a JSON Schema that suggests every property in your editor.
Check
The quadrava validate CLI finds broken references, wrong expressions and missing translation keys before release.
Publish
The runtime reads the documents and draws the app: changes are immediate, no build, no generated code to maintain.
How it works
Four steps, one engine
The runtime interprets the JSON, it does not generate code: that is why the preview is faithful and a change shows up at once. Security comes from validation and from expressions that run in a sandbox: if a rule cannot be evaluated, the button stays hidden (fail-closed).
From document to screen: the services at the bottom right (identity and back ends) stay yours.
A practical example
An order list with an «Approve» button, in two documents
{
"datasources": "orders",
"sources": {
"list": {
"method": "GET",
"url": "/api/orders",
"paging": "server"
},
"approve": {
"method": "POST",
"url": "/api/orders/{{id}}/approve"
}
}
}{ "type": "table",
"source": "orders",
"columns": [ { "field": "number" },
{ "field": "customer" } ],
"rowActions": [{
"label": "Approve",
"visibleIf": "{{ can('orders.order.approve') }}",
"onClick": [
{ "call": "approveOrder" },
{ "toast": "Order approved" },
{ "refresh": "orders" } ]
}] }- The data source says where the data is. A name (
orders/list) instead of a URL scattered across screens: if the API changes, you fix it in one place. - The table says what to show. Columns, sorting, server-side paging: the component already knows how to behave.
- The button appears only to those who may use it.
can(…)asks the authorization service; without an answer, the button stays hidden. - The click is a sequence of steps. Call the API, show a message, reload the list. If the service answers with an error, the runtime shows it the standard way.
The result is the screen at the top of this page: try it in the live demo.
What's inside
Everything a real business application needs
The features usually rewritten in every project are already in the catalogue, tested and documented.
26 ready-made components
Tables with filters, totals and bulk actions, forms, wizards, kanban, calendar, tree, charts, timeline, comments with mentions.
15 field types
From text to lookup, from file upload to Markdown rich text; fields suggested and generated from a data source.
Declarative validation
Rules per field and across fields, non-blocking warnings, remote checks, national formats with check digits (IT, DE, FR, ES…).
Security at the core
A BFF that keeps the tokens (OIDC), CSRF, domain.resource.action permissions, multi-tenancy, fail-closed expressions.
Live data
Live sources over Server-Sent Events: a card moved by a colleague shows up on your board at once.
Observability
Every screen, action and HTTP call becomes an OpenTelemetry trace, linked to the back end through traceparent.
13 accessible themes
Light, dark and high-contrast, all within WCAG AA; the application logo lives in the theme.
Multilingual
Texts in translation catalogues, date and number formats per language; the CLI flags missing keys.
CLI for your CI
quadrava validate and quadrava publish to any registry that follows the contract.
Measured quality
Numbers, not promises
Automated tests per module, all green (release 0.4.1).
Every release goes through the same checks
Unit tests for every library, end-to-end tests in a real browser with automatic accessibility checks (axe), conformance kits that test the BFF and services against the OpenAPI contracts, and a size budget: the runtime stays under 2.5 MB.
In plain words: if one of your services honours the contract, the kit tells you before a user does.
Open core
Complete on its own, open by choice
Quadrava CE holds the language, the runtime, the libraries, the CLI and the contracts: a project is written by hand or with any editor, checked with the CLI and run from the file system or from any registry that follows the contract.
Quadrava Studio, the commercial edition, adds the visual editor, the desktop app and a production-ready registry, and it is built on the same CE packages.
Runtime
The Angular app that loads, validates and draws the screens; also as a Docker image.
Libraries
schema, expressions, core, components, services: npm packages to build your own runtime.
Contracts
OpenAPI 3.1 for BFF, authorization, telemetry and registry, with conformance kits.
Reference services
BFF, authorization and telemetry in Spring Boot, for development and as examples.
The commercial edition depends on CE, never the other way round.
Technology
A current stack, sober choices
Standalone components and signals, a light and governable expression language instead of a rules engine, open standards for identity, contracts and telemetry.
Get started
From curiosity to your first screen in minutes
Step 1
Start the demo
The runtime with the sample applications, in a container.
docker run -p 8080:8080 \ ghcr.io/sramaccini/\ quadrava-runtime:0.4.1
Step 2
Write your screen
Copy a screen from the examples and change it: the schema guides you in your editor.
{ "screen": "hello",
"title": "Hello",
"components": [ … ] }Step 3
Check it in CI
The CLI reads the project the way the runtime does and stops at the first problem.
npm i -D @sramaccini/quadrava-cli npx quadrava validate
MPL-2.0 licence, commercial products included
You can use Quadrava CE inside closed products and services; only changes to Quadrava's own files stay open. The name and logo are not covered by the code licence.
Contributions welcome
Issues, ideas and pull requests on the GitHub repository, with a lightweight CLA. The roadmap and the changelog show where the project is heading.
Describe your next screen instead of rewriting it
Open the demo, read the code, change a JSON document and reload the page.