Accounts
Sign-up, sign-in and password resets, and the mail they send.
02 / UNIWEB APPLICATION ENGINE
Members sign in, keep their own data and pay, and you write no backend code. Declare your domain's types, and the Application Engine does the rest: accounts, permissions, storage and payments, on a PostgreSQL database of its own.
npx uniweb@latest create my-solution --template starter

WHAT THE ENGINE DOES
A game engine gives a game its rendering, physics and input, so its makers spend their time on its world and its rules. The Application Engine does the same for a web app. You build your domain's types, its screens and its own rules, and you create no tables, write no SQL, run no migrations and write no API.
Sign-up, sign-in and password resets, and the mail they send.
Roles and teams, and for each entry, its owner and the people it's shared with.
Entries of the types you declare, checked on every write and held in each language, with a history that can't be rewritten where you ask for one.
Offerings, coupons, checkout and what each member holds, through the owner's own Stripe account.
One for each member, with what's shared with them and their invitations.
Entries that move to and from other systems: a feed another service reads, or a call when something happens.
THE ENTITY MODEL
On a relational database, a course with modules and lessons is three tables and the keys between them. Here it's one Model: its modules and lessons are part of the course, created, read and removed with it.
A concept gets a Model of its own when it has its own identity, lifecycle or permissions. An enrollment begins and ends on its own schedule. A submission is the student's, and the grade on it is the instructor's, hidden until it's released.
ONE SITE, ITS OWN BACKEND
A web app doesn't have to be a second project: the same React site, on the same domain, can serve visitors and signed-in members, or the app can be a project of its own. One entry in site.yml gives it an engine, and blueprint.yml beside it says how that engine starts: who may sign up, who adds entries of each type, and what visitors may read. A type it doesn't open stays closed.
Components reach the engine through the SDK's React hooks, with no routes, tokens or fetch code, and the engine's address comes from the site's host. These are the conference example's own files.
npx uniweb@latest create my-event --template conferencename: Conference
foundation: src
pages: [home, programme]
services:
backend: trueWHERE YOUR LOGIC RUNS
Many features need no server code of your own. Put each piece of logic where what it needs is: in the browser, in a compute function your foundation ships, or in an outside service through an integration. Whichever writes an entry, the engine applies the same rules to the write.
THE SOLUTION OWNER CONSOLE
Every web app gets the Solution Owner Console, the engine's own administration, the same for every solution. There its owner sets what every web app has: the payment account, teams and who is in them, roles, the store's offerings and coupons, and an integration's address and keys. None of it belongs in your files.
What is your domain's stays yours to build, in your solution's own words: a course's roster and grading, a dealership's inventory and requests.
COMPARED WITH A BACKEND-AS-A-SERVICE
A backend-as-a-service such as Supabase or Firebase gives an app a database, sign-in and an API with no servers to run. It's general-purpose: you design the tables or collections, and write the rules that protect them.
The Application Engine works at the level of your app's domain, and has what most web apps need besides data, so you write no tables, access rules, queries or server routes.
A relational database stays the better tool for ad-hoc analytical SQL, heavy number crunching, or a schema tuned column by column. The engine is built for structured, related and permissioned data that people and applications read and write.
ITS OWN, BY DESIGN
When a web app is published, Uniweb provisions its engine: its own Application Engine deployment and its own PostgreSQL database, for that web app alone.
You choose its tier when you publish. Tiers differ in the compute and egress they give the web app, not in what the engine can do.
WHERE THE ENGINE RUNS
The Application Engine is written in Rust, on Actus, our open-source Rust web framework. Build against the full engine on your machine, then publish your web app to Uniweb.
The engine's Developer Edition, built and licensed for development, runs in Docker with its database. pnpm dev uses it, and it doesn't expire.
Publish from the CLI or Uniweb App, and choose the engine's tier. Uniweb provisions the engine and manages it, and Uniweb App bills it.
The engine's tiers