Use runtime data (SQLite) adapters to simulate DB, auth, storage, and functions for rapid prototyping.
Map to Supabase, Firebase, GraphQL, REST without rewriting your front-end code.
Unified API across providers means less rewrite, more shipping. No vendor lock-in.
Start with runtime data, switch to real backends when ready
import { createClient } from '@vibecode-db/client'
// Start with runtime data - no backend needed!
const vibecode = createClient({
dbSpec,
adapter: (ctx) => new SQLiteWebAdapter(ctx, {sqliteOpts})
})
// Your app works immediately
const users = await vibecode
.from('users')
.select('*')
.where('active', true)
.limit(10)import { createClient } from '@vibecode-db/client'
// Switch to real backend - same API!
const vibecode = createClient({
dbSpec,
adapter (ctx) => new SupabaseAdapter(ctx, {supabaseOpts}),
})
// No code changes needed
const users = await vibecode
.from('users')
.select('*')
.where('active', true)
.limit(10)