Full-stack runtime
Appbricx is not a UI mock generator. Generated apps run against a real platform runtime: database, named queries, workflows, webhooks, cron, topics, and REST — without you standing up Express.
Mental model
| Layer | Where it lives | How the app uses it |
|---|---|---|
| UI | src/ | runtime.queries.run, auth helpers |
| SQL | .appbricx/backend/queries/*.sql | Mustache params → bound queries |
| Workflows | .appbricx/backend/workflows/*.workflow.js | export async function run(ctx) |
| Webhooks | .appbricx/backend/webhooks/*.json | POST /hooks/<projectId>/<name> |
| Schedules | .appbricx/backend/schedules/*.json | Cron → workflow queue |
| REST | .appbricx/backend/api/tables.json | /__appbricx/api/v1/:table |
Path branding
Public SDK paths use /__appbricx/*. Some docs and handlers still mention legacy /__appbricx/* — both work; the API rewrites them.
Guides in this section
Named queries
Server-side SQL
Auth & RLS
End-user sessions
Auto CRUD REST
API + curl + ACL
Workflows
Invoke via HTTP/SDK
Webhooks & schedules
Hooks + cron
Topics & CDC
SSE live events
Data templates
Starter packs
Secrets & env
refs + vault
End-to-end recipe
Full walkthrough
Demo tip. Apply the
saas-leads data template for a ready pack of queries, webhook, workflows, and schedule — then ask the agent to build the UI on top. See Data templates.