nextjs-saas-starter
nextjs-saas-starter copied to clipboard
Next.js SaaS Prisma PostgreSQL Auth Starter
This project aims to create a metered billing SaaS utilizing Next.js, Prisma, PostgreSQL, and Stripe.
:warning: it's still a work in progress.
Features
- NextJS 14
/app
dir - Pricing using Tier and Stripe
- Pricing model using Tier Model Builder
- Subscriptions and Checkout
- Authentication using Lucia Auth
- ORM using Prisma
- tailwindcss and shadcn for styling and UI
Running Locally
First, run the development server:
npm i
cp .env.example .env.local
npm run dev
Open http://localhost:3000 with your browser to see the result.
License
License under the MIT License.
Features
- [x] Authentication
- [x] Registration
- [x] Forgot Password
- [x] Change Password
- [x] Email Verification
- [x] Login
- [x] Logout
- [x] Account
- [x] Change Username / Name
- [x] Change Password
- [x] Change Email
- [x] Confirm Email
- [x] Change Timezone
- [x] Change Language
- [x] Change Appearance
- [x] Delete Account restrict when Owner of Projects
- [ ] Projects
- [x] Create
- [x] Change Name
- [x] Delete Project
- [ ] Restrict Delete to Owner
- [x] Members
- [x] Add
- [x] Create Invitation
- [x] Send Email
- [x] Accept Invitation
- [x] Remove Invitation
- [x] Create Invitation
- [x] Remove
- [x] Self-remove only if not Owner
- [x] Change Role
- [x] Add
- [ ] Billing
Docker Compose
using mailpit for local email development.
Development
Emails
:warning: docs section is WIP