Nextjs Supabase Polar Starter

Scaffold or audit a multi-tenant SaaS billing and auth stack built on Next.js, Supabase, and Polar.sh. Use when building a credit-based SaaS, adding a credit system / usage-based billing / token wallet to a Supabase app, integrating Polar.sh checkout or webhooks, setting up Merchant of Record payments from a region where Stripe, Paddle, or Lemon Squeezy are restricted or unavailable (Bangladesh, Pakistan, Nigeria, etc.), designing an append-only credit ledger with SECURITY DEFINER functions, wiring Google-only OAuth via Supabase Auth, or reviewing RLS policies for a multi-tenant billing schema. Covers server-authoritative credits, webhook idempotency, purchase reconciliation, and file-hash result caching.

mahfuzurrahman01 Updated

File contents

mahfuzurrahman01/saas-resources-hub/tree/main/skills/nextjs-supabase-polar-starter commit 23e5c13893

Frequently asked questions

npx skillmds@latest add mahfuzurrahman01/nextjs-supabase-polar-starter