https://github.com/salmandotweb/nextjs-supabase-boilerplate
A nextjs supabase fullstack boilerplate
https://github.com/salmandotweb/nextjs-supabase-boilerplate
fullstack fullstack-development landing-page nextjs nextjs-boilerplate nextjs-starter react saas saas-boilerplate stripe stripe-payments supabase supabase-auth
Last synced: 7 months ago
JSON representation
A nextjs supabase fullstack boilerplate
- Host: GitHub
- URL: https://github.com/salmandotweb/nextjs-supabase-boilerplate
- Owner: salmandotweb
- License: mit
- Created: 2023-09-23T12:55:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-03T12:38:27.000Z (about 2 years ago)
- Last Synced: 2024-04-18T10:11:45.344Z (over 1 year ago)
- Topics: fullstack, fullstack-development, landing-page, nextjs, nextjs-boilerplate, nextjs-starter, react, saas, saas-boilerplate, stripe, stripe-payments, supabase, supabase-auth
- Language: TypeScript
- Homepage: https://ai2saas.vercel.app/
- Size: 659 KB
- Stars: 28
- Watchers: 1
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fullstack SAAS Next.js Supabase Stripe Tailwindcss Boilerplate
I have created this boilerplate using next.js, supabase for authentication, and stripe for payments.
## What's included
- Authentication
- Row-level security
- Card payments
- Landing page
- Protected routes
## 🛠️ Tech Stack
- [Next.js](https://nextjs.org/)
- [TypeScript](https://www.typescriptlang.org/)
- [Tailwind CSS](https://tailwindcss.com/)
- [Supabase](https://supabase.com/)### Cloning the repository
```shell
git clone https://github.com/salmandotweb/nextjs-supabase-boilerplate.git
```### Install packages
```shell
npm i
```### Setup .env file
```js
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
```shell
npm run dev
```## Available commands
Running commands with npm `npm run [command]`
| command | description |
| :-------------- | :--------------------------------------- |
| `dev` | Starts a development instance of the app |
#### Salmandotweb
- Twitter: [@salmandotweb](https://twitter.com/salmandotweb)
- Github: [@salmandotweb](https://github.com/salmandotweb
## ➤ License
Distributed under the MIT License. See [LICENSE](LICENSE) for more information.