Auto-generated REST API

An auto-generated REST API turns a database directly into a RESTful API, generating endpoints from your schema and enforcing access with database permissions.

Auto-generated APIs expose your database tables and views as REST endpoints automatically. Querying, filtering, ordering, and pagination are driven by the URL, so you don't write CRUD controllers.

Security stays in the database: database roles and row-level security policies determine what each request can read or write, rather than scattering permission checks across application code.

This pattern dramatically reduces backend boilerplate while keeping standard SQL as the single source of truth for both data and access control.

Related terms

Auto-generated REST API in basefyio

See it in practice

basefyio gives you database, auth, storage, and a REST API in minutes.

Get started