Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

salmandotweb/nextjs-supabase-boilerplate

Repository files navigation

Fullstack SAAS Next.js Supabase Stripe Tailwindcss Boilerplate

I have created this boilerplate using next.js, supabase for authentication, and stripe for payments.

Screenshot 2023εΉ΄10月02ζ—₯ at 10 18 27 PM

What's included

  • Authentication
  • Row-level security
  • Card payments
  • Landing page
  • Protected routes

πŸ› οΈ Tech Stack

Cloning the repository

git clone https://github.com/salmandotweb/nextjs-supabase-boilerplate.git

Install packages

npm i

Setup .env file

NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=

Add SQL Tables

Use database.sql file

Start the app

npm run dev

Available commands

Running commands with npm npm run [command]

command description
dev Starts a development instance of the app

Salmandotweb

➀ License

Distributed under the MIT License. See LICENSE for more information.

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /