Coderblock AI
Generate the backend: API, database, auth
An AI backend generator creates the server side of an application from a description: the API endpoints, the database schema and the authentication layer. Coderblock provisions real infrastructure with it. Consumer apps get a dedicated Supabase project with Postgres, row-level security, auth, storage and edge functions; enterprise platforms get a generated FastAPI backend on Postgres.
What exactly gets generated on the backend?
SQL migrations that define your tables and relations, row-level security policies that enforce who can read and write each row, authentication flows on Supabase Auth, storage buckets for user files, and edge functions for server-side logic like webhooks or scheduled work. All from product-level descriptions, no backend vocabulary required.
Where does the backend actually run?
On infrastructure provisioned per project. Each consumer app receives its own Supabase project, isolated from every other user's app, shared between your preview and production environments. There are no servers for you to configure: the database, auth service and functions exist minutes after your first backend-touching request.
What about backends that need custom server code?
That is the enterprise path: Coderblock generates a FastAPI application in Python with a Postgres database, suited to B2B platforms with heavier server-side logic. The agent writes and edits the endpoint code the same way it handles frontend files, and the AI Gateway is available for AI-powered endpoints.
| Database | Postgres schema via SQL migrations |
|---|---|
| Access control | Row-level security policies per table |
| Authentication | Supabase Auth: sign-up, login, sessions |
| Server logic | Edge functions, or FastAPI for enterprise |
| File storage | Supabase Storage buckets |
| AI endpoints | AI Gateway with a metered per-project key |
FAQ
- What is an AI backend generator?
- It is a system that creates the server side of an app from natural language: API logic, database schema, security rules and authentication, generated and provisioned instead of hand-built.
- Do I need to set up a database account somewhere?
- No. Coderblock provisions a dedicated Supabase project with Postgres for your app automatically, including auth and storage, shared by your preview and production environments.
- How is data kept secure between users?
- Through Postgres row-level security: the agent writes explicit policies per table, so each authenticated user can only access the rows your rules allow. You describe the rules; the database enforces them.
- Can the generated backend talk to external services?
- Yes. Edge functions and FastAPI endpoints can call external APIs and webhooks, and the built-in AI Gateway adds chat, image and agent capabilities without separate AI provider accounts.