A real relational database
SQLite tables, relationships, indexes, and a generated data API. One isolated D1 database per project.
bffBackend for frontend
Your database, auth, storage, and backend logic. Together in one developer-friendly platform, built on Cloudflare.
In development · Get a first look
Cloudflare underneath. Your app on top.
A familiar way to build
One client for the things every app needs. Query your data, sign in a user, or call a function without stitching services together.
Explore the platform// Your whole backend starts here.
const app = createClient(PROJECT_URL, PUBLIC_KEY);
// Your data. Your users’ permissions.
const posts = await app.from("posts")
.select("id, title, published")
.eq("published", true);
SQL you know. Row permissions applied by the backend.
const app = createClient(PROJECT_URL, PUBLIC_KEY);
// A familiar sign-in flow.
await app.auth.signInWithOAuth({
provider: "apple"
});
const user = await app.auth.getUser();
Identity travels with every authenticated request.
const app = createClient(PROJECT_URL, PUBLIC_KEY);
// Give your app a place for its files.
await app.storage("photos")
.upload("hello.jpg", file);
const url = await app.storage("photos")
.createSignedUrl("hello.jpg");
R2-backed files, with access controlled by your project.
const app = createClient(PROJECT_URL, PUBLIC_KEY);
// Your backend logic. Plain JavaScript.
const post = await app.rpc("publishPost", {
postId: "post_123"
});
console.log(post.title);
Project-scoped functions for the logic that belongs on the server.
Illustrative API · SDK in development
The platform we’re building
Start with a solid foundation. Grow into live experiences, background work, and smarter applications.
SQLite tables, relationships, indexes, and a generated data API. One isolated D1 database per project.
Authentication and declarative row policies, designed to check access before a query reaches your data.
Public and private storage, signed URLs, and upload controls. Keep app data and media in the same workflow.
Server-side functions with scoped access to your project. Write the business logic in a language you already use.
Next on the horizon
A smaller infrastructure story
SQLite for your data. JavaScript for your logic. Cloudflare for the infrastructure underneath it all.
Meet your next BFF
BFF is in development. Tell us what you’re building and help shape what comes first.
Ask about early accessA direct line to the team. No commitment.