Awesome
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
- Authentication
- Registration
- Forgot Password
- Change Password
- Email Verification
- Login
- Logout
- Account
- Change Username / Name
- Change Password
- Change Email
- Confirm Email
- Change Timezone
- Change Language
- Change Appearance
- Delete Account restrict when Owner of Projects
- Projects
- Create
- Change Name
- Delete Project
- Restrict Delete to Owner
- Members
- Add
- Create Invitation
- Send Email
- Accept Invitation
- Remove Invitation
- Create Invitation
- Remove
- Self-remove only if not Owner
- Change Role
- Add
- Billing
Docker Compose
using mailpit for local email development.
Development
Emails
:warning: docs section is WIP