Open-source SaaS Starter with User Roles & Admin Panel. Built using Next.js 14, Prisma, Neon, Auth.js v5, Resend, React Email, Shadcn/ui, Stripe, Server Actions.
MIT License
Empower your next project with the stack of Next.js 14, Prisma, Neon, Auth.js v5, Resend, React Email, Shadcn/ui, and Stripe. All seamlessly integrated with the SaaS Starter to accelerate your development and saas journey.
Clone & create this repo locally with the following command:
npx create-next-app my-saas-project --example "https://github.com/mickasmt/next-saas-stripe-starter"
Or, deploy with Vercel:
pnpm install
.env.example
to .env.local
and update the variables.cp .env.example .env.local
pnpm run dev
[!NOTE] I use npm-check-updates package for update this project.
Use this command for update your project:
ncu -i --format group
next/font
Optimize custom fonts and remove external network requests for improved performanceImageResponse
Generate dynamic Open Graph images at the edgeuseIntersectionObserver
React hook to observe when an element enters or leaves the viewportuseLocalStorage
Persist data in the browser's local storageuseScroll
React hook to observe scroll position (example)nFormatter
Format numbers with suffixes like 1.2k
or 1.2M
capitalize
Capitalize the first letter of a stringtruncate
Truncate a string to a specified lengthuse-debounce
Debounce a function call / state updateCreated by @miickasmt in 2023, released under the MIT license.
This project was inspired by shadcn's Taxonomy, Steven Teys Precedent, and Antonio Erdeljac's Next 13 AI SaaS.