The platform for modern teams

The platformto create

Your toolkit to stop configuring and start innovating. Securely build, deploy, and scale the best experiences.

<50mslocal query latency
<200msglobal sync propagation
100%offline availability
0 conflictswith CRDT-based sync
<50mslocal query latency
<200msglobal sync propagation
100%offline availability
0 conflictswith CRDT-based sync
Capabilities

Everything you need.
Nothing you don't.

01

Typed database client

Generate TypeScript types from your live schema and query with Kysely-powered autocomplete across every table and column.

02

Auth built in

Ship user sign-up, sign-in, sessions, and scoped database access through better-auth without wiring a separate auth stack.

03

Offline-first sync

Read from a local SQLite cache, queue writes while offline, and sync changes back when the device reconnects.

AB
04

Secure API key rotation

After sign-in, FFDB automatically manages short-lived API keys, rotates them before expiry, and revokes old keys.

Process

Three steps.
Infinite possibilities.

workflow.ts
1npx ffdb-cli init
2
3? Choose a template
4  React
5  Expo
6  Electron
Ready
Offline-first architecture

Local reads.
Synced writes.

FFDB lets your app keep working when the network does not. Reads hit a local SQLite cache, writes are queued as mutations, and sync reconciles with your central backend when the device comes back online.

SQLite
Local cache
RLS
Scoped sync
LWW
Conflict model
Sync PipelineOnline ready
Local SQLite
Instant reads
<10ms
Mutation Queue
Writes stored offline
pending
Auth Scope
RLS permissions checked
secure
Push
Queued changes sent
online
Pull
Server deltas applied
synced
Reconcile
Local cache updated
done
Performance profile

Built for fast apps.
Measured under load.

FFDB is designed around local-first reads, short server request paths, scoped sync, and predictable SQLite-backed performance.

0k+
requests per second on mixed workloads
<0ms
p99 latency at concurrency 50
0%
successful requests in benchmark runs
0
network required for local reads

Benchmark figures are from mixed read/write load tests. Production results depend on schema, indexes, sync volume, and write contention.

Runtime support

One client.
Every app surface.

Use FFDB across web, mobile, desktop, server routes, and background workers without swapping database or auth clients.

React
Web apps
Next.js
Full-stack apps
Expo
Mobile apps
React Native
Native apps
Electron
Desktop apps
Node.js
Servers
Hono
API routes
Express
API servers
Fastify
API servers
SQLite
Local-first storage
Kysely
Typed queries
better-auth
Authentication
React
Web apps
Next.js
Full-stack apps
Expo
Mobile apps
React Native
Native apps
Electron
Desktop apps
Node.js
Servers
Hono
API routes
Express
API servers
Fastify
API servers
SQLite
Local-first storage
Kysely
Typed queries
better-auth
Authentication
better-auth
Authentication
Kysely
Typed queries
SQLite
Local-first storage
Fastify
API servers
Express
API servers
Hono
API routes
Node.js
Servers
Electron
Desktop apps
React Native
Native apps
Expo
Mobile apps
Next.js
Full-stack apps
React
Web apps
better-auth
Authentication
Kysely
Typed queries
SQLite
Local-first storage
Fastify
API servers
Express
API servers
Hono
API routes
Node.js
Servers
Electron
Desktop apps
React Native
Native apps
Expo
Mobile apps
Next.js
Full-stack apps
React
Web apps
Security model

Secure by
design.

FFDB is built around scoped access, short-lived credentials, and server-enforced permissions. Even offline sync only pulls data the user is allowed to read.

Scoped accessAPI key rotationServer-enforced queriesLocal-first isolationAudit visibility

Scoped database access

Every request is validated against table-level permissions, column constraints, and query limits.

Short-lived API keys

User sessions use automatically rotated API keys with expiration and revocation built in.

RLS-aware data model

All queries are enforced server-side, ensuring users only access data they are permitted to see.

Offline-safe permissions

Local caches only contain data the user is authorized to read — even when offline.

FFDB does not claim formal certifications at this stage. Security is implemented at the architecture level and can be audited and extended based on your deployment requirements.

For developers

Your backend,
typed end to end.

FFDB gives you auth, typed queries, API key rotation, and optional offline sync from a single framework-agnostic client.

Type-safe queries

Generate schema types and query with Kysely autocomplete.

Auth included

User sign-in, sessions, and scoped access in one client.

Offline-ready

Local SQLite reads with queued writes and background sync.

Runs everywhere

Node, browsers, React Native, Expo, and Electron.

npm install ffdb-client
# generate types from your live schema
npx ffdb-cli generate --url https://<your-db>.ffdb.forever-frameworks.com
Pricing

Start free.
Scale by usage.

FFDB starts with a real free tier. Add billing when you need more reads, writes, storage, or monthly active users.

01

Free

For prototypes, demos, and small apps

$0No billing required
  • 1GB storage
  • 1M reads / month
  • 50k writes / month
  • 5k monthly active users
  • Reads continue after limits
  • Writes and new signups pause at limit
02

Pay-as-you-go

Includes free tier, then scales with usage

UsageFree base + overage
  • Includes Free tier
  • $0.20 / GB storage
  • $0.25 / million reads
  • $1.50 / million writes up to 1M/month
  • $2.25 / million writes beyond 1M/month
  • $0.005 / MAU up to 50k
  • $0.015 / MAU beyond 50k
Best value
03

Pro

For production apps with predictable usage

$7per month
  • 10GB storage
  • 15M reads / month
  • 750k writes / month
  • 50k monthly active users
  • Includes ~$10–$15 worth of usage
  • Same overage rates as pay-as-you-go

Free projects never generate overage charges without a payment method. When free limits are reached, writes and new signups pause while reads continue.

Build offline-first
apps faster.

Start with auth, typed queries, local SQLite reads, queued writes, and sync already wired into one client.

Free tier available. No credit card required.