API builder
The API tab builds the backend for your app without writing a server.
Models and data #
Create models (for example Product, Order) with typed fields — text, numbers, booleans, dates, enums, references to other models. Each model gets REST endpoints automatically, backed by a built-in SQLite database. Browse and edit rows under Data.
Sign-in #
Under Auth, turn on email and password sign-in (plus external providers). Set access rules per model: public, signed-in users, the record's owner only, or builder-only. The generated client gives your pages a ready-made AuthProvider, useAuth(), a login form and <Auth>/<NoAuth> wrappers.
Files and storage #
Store uploads and blobs per API, served from your app's API address.
Using it in your app #
Use in app generates a JavaScript client in src/api/ and can add bound components (lists, forms, detail views) to your project. Native apps exported from the project call the same API.
Payments #
Stores take payments through Stripe — see Payments & stores.
Endpoints #
Every API is available at /_api/<id>/… on the Devmachinist server. Docs shows the OpenAPI description and example requests.