Building a Referral Program for Indie SaaS 2026 — Stripe Coupons + Supabase + Resend
TL;DR No ad budget. Small audience. But you have a few happy users. A referral program turns those users into your sales team. Here's the 4-file setup: supabase/migrations/referrals.sql — referrals table + RLS lib/referral.ts — code generation + signup tracking lib/referral-reward.ts — Stripe coupon reward on conversion lib/referral-emails.ts — Resend notification email Early indie SaaS users share communities. If your user is a developer building side projects, their network is full of other de


