I got tired of rebuilding auth and Stripe for every SaaS. So I packaged my own starter.
Source: Dev.to
Introduction
Every time I started a new SaaS project, I spent 35+ hours wiring up authentication, integrating Stripe, and setting up the database before writing a single line of product code. The worst part? None of that work was part of the product itself.
When I built zerodrag.cloud, I realized the entire backend—auth, payments, database, and email—could be pre‑configured. The only “setup” required was filling in a .env file.
What ZeroDrag Provides
ZeroDrag packages a complete, production‑ready foundation that you can drop into any Next.js app.
Auth
- Google OAuth + magic links
- NextAuth v5 with App Router support
- Protected routes via middleware
- Server‑side session helpers
Payments
- Stripe and Razorpay (switch via env var)
- Full subscription lifecycle handling
- Pre‑configured webhooks
- Entitlement sync built in
Database
- PostgreSQL + Prisma ORM
- Compatible with Supabase, Neon, Railway
- Seed scripts included
- Production‑safe migrations
- Resend integration
- React email templates
- HTML + plain‑text support
AI (Pro)
- Unified API for OpenAI, Claude, Gemini
- Keys never exposed to the client
- Per‑user rate limiting
- Token usage tracking
Error Tracking (Pro)
- Sentry pre‑configured
- API and webhook error capture
Who Should Use ZeroDrag
- Indie hackers shipping real SaaS products
- Solo founders who want to go from idea to paying users quickly
- Engineers tired of wiring the same infrastructure repeatedly
Note: ZeroDrag is not aimed at beginners or no‑code builders. It assumes familiarity with Next.js, TypeScript, and server‑side development.
Pricing
- One‑time payment. No subscription required.
Feedback
I’d love honest feedback from other developers—especially on what’s missing or what you’d do differently.