What is Backflip
Backflip is a self-hosted foundation for web products: a Next.js monorepo with auth, database, admin console, integrations and production deploys already working. You clone it, configure it, and spend your time on the features that make your product yours.
In the box
Public site + admin console
A marketing-style public surface and a full /backflip admin behind auth — users, settings, integrations, UI samples.
Auth that's already wired
Email + password and Google sign-in via Auth.js, role-based capabilities (owner / admin / teammate), password reset and email-change flows.
Postgres + Drizzle
One schema source, generated SQL migrations, encrypted secrets at rest. Config tables for every integration.
Integrations panel
AI providers (Anthropic, OpenAI, Google) with live model lists, Resend transactional email, Google Analytics with a consent-gated cookie banner, Deepgram speech.
Production deploys
Scripted DigitalOcean droplet provisioning and blue/green deploys — build locally, ship an artifact, roll back with one command.
Built for AI-assisted development
A three-level docs system (constitution → contracts → notes) keeps the codebase legible to coding agents, so plain-language prompts produce code that fits.
Who it's for
Builders shipping a product
You have the idea; you don't want to spend the first month on login pages, migrations and deploy scripts.
Developers who want to own their stack
Self-hosted on your own droplet, no per-seat SaaS, no lock-in — everything is code in your repo.
People building with coding agents
The repo is structured so Claude Code and friends stay on the rails: contracts, conventions and prompts over boilerplate.