<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Utkarsh Singh</title>
    <description>The latest articles on DEV Community by Utkarsh Singh (@utkarsh_singh_6f06fc63800).</description>
    <link>https://dev.to/utkarsh_singh_6f06fc63800</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3812687%2F077658f7-099c-48eb-8d4a-d8008462c256.png</url>
      <title>DEV Community: Utkarsh Singh</title>
      <link>https://dev.to/utkarsh_singh_6f06fc63800</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/utkarsh_singh_6f06fc63800"/>
    <language>en</language>
    <item>
      <title>I got tired of rebuilding auth and Stripe for every SaaS. So I packaged my own starter.</title>
      <dc:creator>Utkarsh Singh</dc:creator>
      <pubDate>Sun, 08 Mar 2026 09:22:43 +0000</pubDate>
      <link>https://dev.to/utkarsh_singh_6f06fc63800/i-got-tired-of-rebuilding-auth-and-stripe-for-every-saas-so-i-packaged-my-own-starter-2pjb</link>
      <guid>https://dev.to/utkarsh_singh_6f06fc63800/i-got-tired-of-rebuilding-auth-and-stripe-for-every-saas-so-i-packaged-my-own-starter-2pjb</guid>
      <description>&lt;p&gt;Originally published at &lt;a href="https://zerodrag.cloud/blog" rel="noopener noreferrer"&gt;https://zerodrag.cloud/blog&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Every time I started a new SaaS project, I spent the &lt;br&gt;
first week doing the exact same things.&lt;/p&gt;

&lt;p&gt;Wiring up auth. Integrating Stripe. Setting up a &lt;br&gt;
database. Configuring transactional email.&lt;/p&gt;

&lt;p&gt;35+ hours of setup before writing a single line of &lt;br&gt;
actual product logic.&lt;/p&gt;

&lt;p&gt;The worst part? None of it was my product. It was &lt;br&gt;
just infrastructure. The same infrastructure every &lt;br&gt;
SaaS needs. Built from scratch. Again.&lt;/p&gt;




&lt;h2&gt;
  
  
  The breaking point
&lt;/h2&gt;

&lt;p&gt;When I built zerodrag.cloud, I realized something.&lt;/p&gt;

&lt;p&gt;The entire backend - auth, payments, database, and &lt;br&gt;
email - was running in production before I'd written &lt;br&gt;
a single line of product code.&lt;/p&gt;

&lt;p&gt;The only "setup" was filling in a .env file.&lt;/p&gt;

&lt;p&gt;That's it.&lt;/p&gt;

&lt;p&gt;No wiring NextAuth. No debugging Stripe webhooks for &lt;br&gt;
four hours. No figuring out why Prisma migrations &lt;br&gt;
weren't running in production.&lt;/p&gt;

&lt;p&gt;Just credentials in a .env file. Done.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;p&gt;I packaged that entire foundation into ZeroDrag - a &lt;br&gt;
production-ready Next.js SaaS starter.&lt;/p&gt;

&lt;p&gt;Here's what comes pre-wired:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Auth&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Google OAuth + magic links&lt;/li&gt;
&lt;li&gt;NextAuth v5 + App Router&lt;/li&gt;
&lt;li&gt;Protected routes via middleware&lt;/li&gt;
&lt;li&gt;Server-side session helpers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Payments&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Stripe AND Razorpay (switch via env var)&lt;/li&gt;
&lt;li&gt;Subscription lifecycle handled&lt;/li&gt;
&lt;li&gt;Webhooks pre-configured&lt;/li&gt;
&lt;li&gt;Entitlement sync built in&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Database&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PostgreSQL + Prisma ORM&lt;/li&gt;
&lt;li&gt;Works with Supabase, Neon, Railway&lt;/li&gt;
&lt;li&gt;Seed scripts included&lt;/li&gt;
&lt;li&gt;Production-safe migrations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Email&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Resend integration&lt;/li&gt;
&lt;li&gt;React email templates&lt;/li&gt;
&lt;li&gt;HTML + plain text support&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;AI (Pro)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;OpenAI, Claude, Gemini - unified API&lt;/li&gt;
&lt;li&gt;Keys never exposed to client&lt;/li&gt;
&lt;li&gt;Per-user rate limiting&lt;/li&gt;
&lt;li&gt;Token usage tracking&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Error tracking (Pro)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Sentry pre-configured&lt;/li&gt;
&lt;li&gt;API and webhook error capture&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  The Razorpay thing
&lt;/h2&gt;

&lt;p&gt;One thing that makes ZeroDrag different from every &lt;br&gt;
other Next.js starter: it supports both Stripe AND &lt;br&gt;
Razorpay out of the box.&lt;/p&gt;

&lt;p&gt;If you're building for Indian customers, you already &lt;br&gt;
know the problem. Stripe has poor card acceptance &lt;br&gt;
rates in India. Razorpay doesn't support international &lt;br&gt;
payments well.&lt;/p&gt;

&lt;p&gt;ZeroDrag solves this with a unified payment API. &lt;br&gt;
Switch between providers by changing one env var:&lt;br&gt;
PAYMENT_PROVIDER=stripe&lt;br&gt;
PAYMENT_PROVIDER=razorpay&lt;br&gt;
No rewrites. No refactoring. Just change the variable &lt;br&gt;
and deploy.&lt;/p&gt;




&lt;h2&gt;
  
  
  Who it's for
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Indie hackers shipping real SaaS products&lt;/li&gt;
&lt;li&gt;Solo founders going from idea to paid users fast&lt;/li&gt;
&lt;li&gt;Engineers tired of wiring the same infrastructure 
again and again&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's not for beginners or no-code builders. It assumes &lt;br&gt;
you know how to build apps — it just removes the &lt;br&gt;
boring, repetitive parts.&lt;/p&gt;




&lt;h2&gt;
  
  
  Pricing
&lt;/h2&gt;

&lt;p&gt;One-time payment. No subscription.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://zerodrag.cloud" rel="noopener noreferrer"&gt;https://zerodrag.cloud&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Would love honest feedback from other developers — &lt;br&gt;
especially on what's missing or what you'd do &lt;br&gt;
differently.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
