Next.js 14 · Cloudflare Workers

Ship your SaaS, not your boilerplate.

Auth, database, storage, and edge deploy — fully wired up.

Zero config. One setup command. Production-ready on day one.

Everything included

Authentication

Google OAuth + magic link via Resend. Session management included.

Edge Database

Cloudflare D1 with Drizzle ORM. Migrations, typed queries, zero config.

File Storage

R2 presigned uploads with aws4fetch. Direct browser-to-bucket.

Edge Deploy

One command to ship on Cloudflare Workers. Global, fast, cheap.

Design System

HeroUI + Tailwind. Dark mode, color palettes, responsive out of the box.

One-command Setup

Interactive setup script creates D1, R2, env vars, and applies migrations.

API Patterns

Auth-gated routes, typed responses, edge-compatible patterns baked in.

Dark Mode

System-aware theme switching with smooth transitions. No flash.

Built on
Next.js 14
Cloudflare Workers
D1
R2
NextAuth v5
HeroUI
Drizzle ORM
TypeScript

Up in minutes

STEP 1

Clone the template

gh repo create my-app --template

Use this repo as a template and clone it locally.

STEP 2

Run setup

bun run setup

Creates D1, R2, env vars, and applies migrations interactively.

STEP 3

Start building

bun dev

Auth, database, and storage — ready to go at localhost:3000.

Ready to ship?

Stop wiring boilerplate. Start building your product.