A database and an editor.
Almost every real product has both: application data your code owns, and content someone non-technical needs to change. With Supatype they come from the same types.
Ship the whole thing on a Saturday.
You do not have a backend team, so the backend has to be a file you can read in one sitting. Write the types, run the local stack in Docker, and get a database, an API, auth and Studio. supatype init writes the config for you.
When the schema changes at 1am, the type error tells you which components broke before you deploy.
$ npx @supatype/cli init habit-tracker $ cd habit-tracker $ supatype dev # the local stack answers on http://localhost:18473
type MyOrgs = Rows<"org_member", "org_id", Eq<"user_id", AuthUid>> export type Invoice = Model<{ id: UUID org_id: UUID reference: string }, { access: { read: In<"org_id", MyOrgs> create: In<"org_id", MyOrgs> update: In<"org_id", MyOrgs> } }>
Tenant isolation in the database.
A tenant column on every table, a filter in every query, and a policy you hope you got right. That is how most teams build multi-tenancy by hand.
With Supatype you write the rule once on each model. The engine compiles it to row level security and indexes the membership lookup, so a query that forgets the filter still sees only its own tenant's rows.
One stack you can hand over.
Clients want to edit their own copy, in their own languages, with a preview before it goes live. You want a schema you can version, a build that fails when something drifts, and a project you can hand over without glue code to maintain.
Studio gives the client rich text, blocks, media, drafts, versions, locales and live preview. Growth covers 20 projects on one bill.
$ supatype pull --connection $DATABASE_URL --out schema/index.ts $ supatype adopt $ supatype push
Already on Supabase and a CMS?
Your data is already Postgres, so there is nothing to convert. Pull the existing schema into types, adopt the tables, get Studio over them, and retire the mapping layer between your database and your CMS at your own pace.
Read the draft before you push it: your RLS policies are not read, so each model starts public until you write its rules. Coming from Supabase walks through it.
Tell us what you're building.
We are early, we answer everything ourselves, and we would rather hear about an awkward edge case now than after you have built around it.