Define your schema
d.table() and d.model() — define columns, constraints, and relations. This is the single
source of truth for your data shape. Types flow from here to every other layer.Create an entity
entity() — turn your schema into API endpoints. Define which operations to expose, who can
access them, and add custom actions. One entity = a full REST API for that resource.Serve the API
createServer() — wire up entities and serve your API. Routes and OpenAPI docs are
auto-generated from your entities.See it in action
- Schema
- API
- Server
- UI
Key ideas
Types flow everywhere
One schema definition drives your database, API, and UI types. Change a column — the type error
shows up in your component, not at runtime.
Compiler-driven reactivity
Write plain
let and const in your UI. The compiler handles signals, computed values, and
reactive props — you never call signal() directly.Production-ready by default
OpenAPI generation, access control, environment validation, SSR — built in from day one, not
bolted on later.
One way to do things
Strong conventions mean less guessing for your team and your LLM. If there’s a Vertz way, that’s
the only way.
The stack
| Layer | What | Package |
|---|---|---|
| Schema | 40+ column types, runtime validation, JSON Schema output | vertz/schema |
| Database | Typed queries, migrations, PostgreSQL + SQLite + D1 | vertz/db |
| Server | Entity CRUD, services, access control, CORS, createEnv() | vertz/server |
| UI | Compiled signals, JSX, router, query(), form(), scoped CSS, SSR | vertz/ui |
| Primitives | Headless a11y components — Dialog, Select, Tabs, Menu | vertz/ui-primitives |
| Tooling | Dev server, build, codegen, static analysis | vertz (CLI) |
| Deploy | Cloudflare Workers adapter | vertz/cloudflare |
| Testing | createTestApp() with service mocking | vertz/testing |
| HTTP | Type-safe client with retries, streaming, auth strategies | vertz/fetch |
vertz/server, vertz/db, vertz/ui, vertz/schema, vertz/testing.
Next steps
Quickstart
Build your first Vertz app in 5 minutes.
Installation
Add Vertz to an existing project.
UI Components
Write components with JSX and the compiler.
Reactivity
Understand signals, computed values, and effects.