Stripe + Supabase Auth Starter
API IntegrationsFeatured

Stripe + Supabase Auth Starter

Production-ready auth and payments starter kit — Supabase Auth, Stripe Billing, role-based access, customer portal, and webhook handling out of the box.

Listed
Version

1.0.0

Last Updated

Category

API Integrations

A complete authentication and payments starter that wires together Supabase Auth and Stripe Billing — so you can ship your SaaS without building auth and billing from scratch.

Authentication:

  • Email/password sign-up and login
  • Magic link (passwordless) authentication
  • OAuth providers: Google, GitHub, Discord, Twitter
  • Email verification and password reset flows
  • Session management with JWT refresh
  • Row Level Security (RLS) policies pre-configured

Stripe Billing:

  • Subscription checkout with pricing table
  • One-time payment support
  • Customer portal (manage subscription, update card, cancel)
  • Webhook handling for all subscription events
  • Proration on plan changes
  • Free trial support with configurable duration

Access Control:

  • Role-based access: free, pro, enterprise
  • Feature gating middleware
  • Usage-based limits per plan
  • API rate limiting by subscription tier
  • Admin role with full access override

Database:

  • Supabase PostgreSQL with pre-built schema
  • User profiles table synced from auth
  • Subscription status denormalized for fast queries
  • RLS policies for multi-tenant data isolation
  • Database migrations included

Developer Experience:

  • Type-safe API with tRPC or server actions
  • Zod validation on all inputs
  • Error handling middleware
  • Environment variable validation
  • Comprehensive .env.example

Tech Stack:

  • Next.js 14 (App Router) + TypeScript
  • Supabase Auth + Database
  • Stripe Billing + Checkout
  • Tailwind CSS + shadcn/ui
  • Docker Compose deployment
stripesupabaseauthsaas-starternext-jsbillingsubscriptionsboilerplate
Share:

Reviews (0)

No reviews yet.

$49.00

About the seller

Demo Seller

128 products · Member since Apr 9, 2026