ZOYKU火线榜

salmandotweb/nextjs-supabase-boilerplate技术文档

A nextjs supabase fullstack boilerplate

多语言回退提示:当前仓库原作者暂未发布本地化文档,已为您无缝切换至官方英文原版(English),排版及代码实例完整保真。
npm i nextjs-supabase-boilerplate

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.

文档镜像归档自 GitHub 官方源路径 · 访问原项目 GitHub
最后同步快照:2026-11-09