Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A fullstack SaaS boilerplate using Next.js, Supabase for authentication, and Stripe for payments.
Next.js Supabase Stripe Boilerplate is a free, open-source SaaS starter that combines Next.js, TypeScript, Tailwind CSS, Supabase authentication, and Stripe card payments into one fullstack template.
This boilerplate is a fullstack starter template for SaaS applications. It takes a GitHub repository with configuration files and prebuilt code and produces a running web app with authentication and payments. It is built on Next.js, uses Supabase for database and authentication, and integrates Stripe for card payments. The project is maintained by salmandotweb and is distributed under the MIT License. At the time of metadata collection, the repository had 102 GitHub stars.
The README documents four setup steps: clone the repository, install packages with npm i, create a .env file with the Supabase and Stripe keys, and run database.sql to add the required tables. Then npm run dev starts the development server. The project includes a single command table listing dev as the available npm script.
Yes. The repository is licensed under the MIT License, so you can use, modify, and distribute it without paying licensing fees.
The template handles one-time card payments via Stripe. It does not explicitly describe plan management in the README, so recurring subscriptions would need to be added on top of the existing Stripe setup.
You need NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY, NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY, STRIPE_SECRET_KEY, and STRIPE_WEBHOOK_SECRET.
Supabase is the intended database provider, and the database.sql file is written specifically for Supabase's PostgreSQL backend with row-level security. Swapping databases would require rewriting that script.
