How to build a pre-launch waitlist in a Next.js SaaS -- a Drizzle ORM schema that tracks signups and referral chains, a position counter, and a confirmation email via Resend so every signup has a share link from day one.
How to accept one-time payments in a Next.js SaaS using Stripe Checkout -- creating a session, handling the webhook, recording the purchase in Drizzle ORM, and gating features behind a paid check.
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.
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.
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.
How to build a persistent onboarding checklist for a Next.js SaaS -- a Drizzle ORM schema that tracks which steps each user has completed, a service that marks steps done atomically, and a server component that renders progress on first load without a spinner.