Next.js SaaS boilerplate with NextAuth, Prisma, Supabase, Shadcn/ui & Lemon Squeezy Subscriptions
The Next.js SaaS Boilerplate is a repository designed as a starting point for Next.js SaaS projects that require features such as user authentication, management, and subscription payments. It utilizes technologies like Prisma with a Postgres database, NextAuth, Typescript, Supabase for Postgres, and Lemon Squeezy for subscriptions. The repository includes various features like app directory, route groups, user profiles, account pages, custom components, and more.
To set up the Next.js SaaS Boilerplate, follow these steps:
.env.local
file and generate a NextAuth secret.[origin]/api/auth/callback/[provider]
.The Next.js SaaS Boilerplate provides a solid foundation for Next.js projects requiring user authentication, subscription payments, and user management. With features like route grouping, user profiles, and custom components, this boilerplate offers a starting point for building robust SaaS applications in Next.js. The installation process involves setting up environment variables, configuring GitHub authentication, and accessing the project via localhost for further development.