| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Build and deploy scalable products on Cloudflare with ease.
An opinionated, batteries-included starter kit for quickly building and deploying SaaS products on Cloudflare.
This is the same stack I used to build Supermemory.ai which is open source at git.new/memory
... while still being minimal and composable.
To use, simply clone this repo by running the following commands:
Make sure that you have Wrangler installed. And also that you have logged in with wrangler login (You'll need a Cloudflare account)
Run the following commands:
git clone https://github.com/Dhravya/cloudflare-saas-stack cd cloudflare-saas-stack npm i -g bun bun install bun run setup
That's it. You're ready to go! Next time, you can just run bun run dev and start developing.
When you're ready to deploy, run bun run deploy to deploy to Cloudflare.
If it fails, get your account id using these steps and set the CLOUDFLARE_ACCOUNT_ID environment variable to your account id. See this issue for details.
An automatic setup script is provided, but you can also manually set up the following:
GOOGLE_CLIENT_ID=${your-google-client-id}
GOOGLE_CLIENT_SECRET=${your-google-client-secret}
NEXTAUTH_SECRET=${your-secret}
It's fully scalable and composable. Want to add a backend hono worker, or a python backend? sure! Just put it in the monorepo and deploy.
there's no environment variables. want to use database? just env.DB. Want a Key-value instance? env.KV. want a queue? env.Queue.
want AI? env. AI
tools are incredible. there's wrangler - you can use wrangler to create/delete databases run migrations and all sorts.
Getting a lot of traffic? me too. I pay $5/month, for all of my projects hosted at the same time. (see https://supermemory.ai, https://md.dhr.wtf and more)
| Back | FazBrowse Home | New Git URL |