Claude Code Boilerplate
FeaturesPricingBlogDocs
Get started →

Product

  • Features
  • Pricing
  • Skills

Compare

  • vs ShipFast
  • vs MakerKit
  • vs supastarter

Resources

  • Docs
  • Blog
  • Discord

Legal

  • License
  • Privacy Policy
  • Terms of Service
Claude Code Boilerplate

© 2026 Claude Code Boilerplate. All rights reserved.

Blog 17 posts

  1. 07.
    OAuth social login in Next.js App Router -- GitHub and Google sign-in without NextAuthJun 26, 2026

    How to add GitHub and Google OAuth to a Next.js App Router SaaS without NextAuth -- handling the callback, exchanging the code for a user profile, upserting the user in Drizzle ORM, and issuing a JWT so the rest of your auth layer stays unchanged.

    nextjsauthdrizzle-ormsaasoauth
  2. 08.
    Email verification in Next.js App Router -- confirming signups with JWT tokens and ResendJun 25, 2026

    How to add email verification to a Next.js SaaS -- a signed JWT link sent via Resend on signup, a verify endpoint that marks the user confirmed in Drizzle ORM, and a service-layer guard that blocks unverified users from protected actions.

    nextjsauthresenddrizzle-ormsaas
  3. 09.
    GDPR compliance in Next.js SaaS -- account deletion, data export, and right to erasure with Drizzle ORMJun 24, 2026

    How to implement GDPR right to erasure and data portability in a Next.js SaaS -- a self-service account deletion endpoint, cascading Drizzle ORM deletes, a data export download, and a confirmation gate so users cannot accidentally delete their account.

    nextjsdrizzle-ormsaasgdprauth
  4. 10.
    Two-factor authentication in Next.js App Router -- TOTP setup, QR codes, and backup codes with Drizzle ORMJun 22, 2026

    How to add TOTP-based two-factor authentication to a Next.js SaaS with Drizzle ORM -- generating secrets, rendering QR codes, validating codes at login, and issuing backup codes so users never get locked out.

    nextjsdrizzle-ormauthsaassecurity
  5. 11.
    Role-based access control in Next.js App Router -- gating routes and actions by user role with Drizzle ORMJun 21, 2026

    How to add role-based access control to a Next.js SaaS with Drizzle ORM -- a role enum on the user, a requireRole() helper in the service layer, and route guards that fail fast without leaking data.

    nextjsdrizzle-ormauthsaas
  6. 12.
    Usage limits in Next.js SaaS -- gating features by Stripe plan with Drizzle ORMJun 19, 2026

    How to gate features by Stripe subscription plan in a Next.js SaaS -- storing the plan on the user, checking it in the service layer, and enforcing per-plan usage limits so your free tier actually means something.

    nextjsstripedrizzle-ormsaasauth
123