A full-featured SaaS starter with auth, billing, and entitlements—powered by Update and Next.js.
Features · Demo · Deploy to Vercel · Local Setup · Support
- 💳 Subscriptions — Stripe billing with checkout, portals, trials, and failed payment recovery
- 🔐 Authentication — Supabase auth with Update-powered extensions (e.g., magic links, redirects)
- 🔓 Entitlements — Easy access control by plan, org, or user role
- ⚙️ Full-stack ready — App Router, Middleware, Client, and Server usage supported
- 🎨 UI — Built with Tailwind CSS and shadcn/ui
Live demo: nextjs-supabase-stripe-update.vercel.app
Click the button below to instantly deploy the template and set up Update and Supabase:
git clone https://github.com/updatedotdev/nextjs-supabase-stripe-update.git cd nextjs-supabase-stripe-updatenpm installpnpm installCreate a .env.local file based on the provided example:
cp .env.example .env.localFill in values from:
NEXT_PUBLIC_UPDATE_PUBLIC_KEY=...
NEXT_PUBLIC_SUPABASE_URL=...
NEXT_PUBLIC_SUPABASE_ANON_KEY=...npm run devOpen http://localhost:3000 in your browser to view the app.
- 🔌 Update Client Setup:
utils/update/client.ts— for browser-side usageutils/update/server.ts— for server-side usage
- 🧠 Entitlements Checks:
- Example usage of
client.entitlements.check()to conditionally render UI
- Example usage of
- 💳 Billing Integration:
- Stripe Checkout & Customer Portal
- Cancel/reactivate subscriptions
- Usage-based plans (coming soon)
- 📚 Full documentation
- 💬 Join our Discord
- 🐛 Found a bug? Open an issue
MIT