Overview:
The Next.js SaaS Lemonsqueezy Boilerplate is designed as a foundation for Next.js SaaS projects that require features such as user authentication, management, and subscription payments. It is equipped with Prisma and Postgres for database handling, shadcn/ui and custom sass components for the user interface, and integrates various modern technologies like NextAuth, Typescript, and LemonSqueezy for subscriptions.
Features:
- App directory
- Route Groups
- Intercepting & Parallel Routes
- CSR/SSR
- Subscriptions with Lemon Squeezy
- Basic SEO
- User Profiles
- Account Pages
- Custom Components
- Toast Message
- Light/Dark Modes (in development)
- Responsive Design
- Dashboard layouts (in development)
- Cookies support (planned)
- Intl (planned)
- Custom errors handling (planned)
Installation:
To set up the Next.js SaaS Lemonsqueezy Boilerplate, follow these steps:
- Create a
.envfile and generate a NextAuth secret. - Open your terminal and run the command:
npm install - Start the development server with:
npm run dev - Visit
http://localhost:3000in your browser to view the result.
Summary:
The Next.js SaaS Lemonsqueezy Boilerplate offers a robust starting point for Next.js SaaS projects with essential features like user authentication, subscriptions, user profile management, and more. With a modern stack including NextAuth, Typescript, and LemonSqueezy, this boilerplate provides a solid foundation for developing SaaS applications efficiently.