Nextjs Lemonsqueezy Boilerplate screenshot

Nextjs Lemonsqueezy Boilerplate

Author Avatar Theme by Eckdev
Updated: 15 May 2024
66 Stars

Nextjs v14 Boilerplate with Lemonsqueezy

Categories

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:

  1. Create a .env file and generate a NextAuth secret.
  2. Open your terminal and run the command: npm install
  3. Start the development server with: npm run dev
  4. Visit http://localhost:3000 in 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.