Skip to content

Cloudflare SaaS Stack

A batteries-included Next.js starter for building and deploying SaaS products on Cloudflare.

github.com/supermemoryai/cloudflare-saas-stack

Cloudflare SaaS Stack website screenshot
Added
GitHub stars
3.7k

About

About Cloudflare SaaS Stack

Cloudflare SaaS Stack, from the Supermemory team, is an opinionated starter for building and shipping SaaS products on Cloudflare. It is a Next.js project bootstrapped with c3 that combines Tailwind CSS, Drizzle ORM, NextAuth for authentication, Cloudflare D1 as a serverless SQLite database, Cloudflare Pages for hosting and shadcn/ui for components. The authors say it is the stack behind Supermemory.

Install Wrangler and log in to a Cloudflare account, clone the repo, install bun, then run bun install, bun run setup and bun run dev. Extra scripts handle the Pages build, local preview, deploy and Cloudflare type generation, and Drizzle migrations work against local or production D1. GitHub lists no license. It suits developers who want a low-cost Cloudflare deployment.

Cloudflare SaaS Stack features

6 features

  • Next.js on Cloudflare Pages
  • Drizzle ORM with Cloudflare D1
  • NextAuth authentication
  • shadcn/ui components
  • Wrangler preview and deploy scripts
  • Migrations for local and production D1

Install Cloudflare SaaS Stack

1 command

Terminal

$ git clone https://github.com/Dhravya/cloudflare-saas-stack

What you can build with Cloudflare SaaS Stack

3 use cases

  • Deploying a SaaS to Cloudflare on a small budget
  • Setting up D1 migrations with Drizzle
  • Starting an app on the stack Supermemory uses

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What Cloudflare SaaS Stack is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro