DEV Community

king li
king li

Posted on

Why Cloudflare Workers is my go-to platform for building indie SaaS products

After testing multiple serverless platforms, I
 ’ve settled on Cloudflare Workers for building my SaaS project.
For solo founders, the biggest advantage is transparent pricing and zero idle costs. You only pay for actual requests, which makes it perfect for early-stage products with unpredictable traffic.
That said, working within edge runtime constraints brings plenty of challenges I didn’t anticipate at first:
Auth.js requires special adjustments to run properly on Workers; standard Node.js implementations won’t work out of the box
Local wrangler dev behavior sometimes differs from production, leading to tricky last-minute bugs
Third-party API integrations (Stripe, Resend) need careful request handling to avoid timeouts
DNS & domain setup for transactional emails has lots of easy-to-miss configuration rules
A lot of public tutorials only cover isolated features. It’s far harder to find guidance for integrating authentication, subscription billing, and email delivery into one production-ready stack.
All of these lessons are being applied to my own SaaS platform built fully on Cloudflare edge infrastructure.
If you’re interested, you can check it out here: https://buildpilots.net
I’m curious: what serverless tools are you using to launch your side projects? Have you run into frustrating edge runtime limitations?

Top comments (0)