Name your entity and its fields; get the schema, REST routes and a working list/form UI as copyable files.
Define the entity; the three files update live.
What it does
Schema, routes and UI generate from the same field list, so they cannot drift.
Text, number, boolean, date and enum map to the right SQL types and input controls.
Generates a starting point, not a production app - auth and validation are marked where you add them.
Each artifact copies separately into your project.
text, number, boolean, date and enum with its values inline: plan: enum:free,pro,team. One field per line, nothing else to learn.
A malformed field gets "line 3: use name: type" with the grammar restated, instead of failing silently.
Numbers become NUMERIC, dates become DATE, booleans default to FALSE, enums become a CHECK constraint, and every table gets id and created_at columns.
The routes file cleans every payload: numbers must be finite, dates must be ISO, enums must match your values. Bad input returns a 422 naming each error.
Inserts use $1, $2 placeholders rather than string building, and the list route caps at 200 rows, newest first.
Text inputs, number inputs, checkboxes, date pickers and selects are generated per field and wired to the same routes the handlers file defines.
How it works
Step 1
Name the entity and list its fields with types.
Step 2
Review the schema, routes and UI tabs.
Step 3
Copy each file into your project and wire your database.
FAQ
SQL schema (Postgres-flavored), fetch-based route handlers, and a framework-free page - portable into whatever you use.
Not yet - keep fields scalar and add foreign keys where the SQL comments mark them.
CREATE TABLE IF NOT EXISTS with a serial primary key, your columns and a created_at timestamp, plus a comment reminding you to add foreign keys where relationships exist.
The routes file says so itself: wire it to your database layer and add auth before production. Validation and parameterized queries are already in place.
Entity and field names are snake_cased, so PlanType, plan type and plan-type all become plan_type across all three files.
GET and POST on /api/your-entities and DELETE on /api/your-entities/:id - exactly the routes the handlers file exports.
Worked example
This is what CRUD App Scaffolder returned for the example input shown, captured from the tool itself - not a mockup.
You enter
Entity name (built-in example)
Subscriber
Fields (built-in example)
email: text name: text plan: enum:free,pro,team mrr: number active: boolean joined: date
Tab
SQL schema
The tool returns
-- TODO: add foreign keys where relationships exist
CREATE TABLE IF NOT EXISTS subscribers (
id SERIAL PRIMARY KEY,
email TEXT NOT NULL DEFAULT '',
name TEXT NOT NULL DEFAULT '',
plan TEXT CHECK (plan IN ('free', 'pro', 'team')),
mrr NUMERIC,
active BOOLEAN NOT NULL DEFAULT FALSE,
joined DATE,
created_at TIMESTAMPTZ NOT NULL DEFAULT now()
);
More in the Build suite
CRUD App Scaffolder
Name your entity and its fields; get the schema, REST routes and a working list/form UI as copyable files.



