I have created this boilerplate using next.js, supabase for authentication, and stripe for payments.
- Authentication
- Row-level security
- Card payments
- Landing page
- Protected routes
git clone https://github.com/salmandotweb/nextjs-supabase-boilerplate.git
npm i
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=
Use database.sql
file
npm run dev
Running commands with npm npm run [command]
command | description |
---|---|
dev |
Starts a development instance of the app |
- Twitter: @salmandotweb
- Github: [@salmandotweb](https://github.com/salmandotweb
Distributed under the MIT License. See LICENSE for more information.