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 14 posts

  1. 07.
    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
  2. 08.
    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
  3. 09.
    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
  4. 10.
    Rate limiting in Next.js App Router -- per-user and per-IP protection for SaaS API routesJun 14, 2026

    How to add sliding-window rate limiting to Next.js App Router API routes -- a Drizzle ORM implementation that works across serverless instances and integrates cleanly with JWT auth.

    nextjssaasdrizzle-ormauth
  5. 11.
    API key management in Next.js -- issuing, hashing, and scoping keys with Drizzle ORMJun 12, 2026

    How to add API key authentication to a Next.js SaaS -- generating keys with crypto.randomBytes, storing only the SHA-256 hash in Drizzle ORM, and validating them in route handlers without ever persisting the plaintext secret.

    nextjsdrizzle-ormauthsaas
  6. 12.
    Password reset in Next.js App Router -- JWT tokens, Resend email, and Drizzle ORMJun 8, 2026

    How to build a complete password reset flow in a Next.js App Router SaaS -- generating a signed JWT reset token, sending it via Resend, and updating the password hash with Drizzle ORM.

    nextjsauthjwtresenddrizzle-orm
123