LogoA Template
icon of nextjs-billing

nextjs-billing

Next.js billing app boilerplate with Lemon Squeezy integration, Auth.js, Drizzle ORM, Tailwind CSS, and Neon serverless Postgres.

Introduction

Next.js Billing App with Lemon Squeezy

This Next.js demo app serves as a foundation for building subscription-based SaaS applications. It provides ready-made authentication and billing components, allowing developers to focus on core application features.

Key features include:

  • Framework: Next.js 14
  • Language: TypeScript
  • Billing: Lemon Squeezy integration for handling subscriptions and payments
  • Authentication: Auth.js v5 (GitHub OAuth)
  • ORM: Drizzle for serverless Postgres database interactions
  • Styling: Tailwind CSS
  • Components: Wedges
  • Database: Neon serverless Postgres
  • Linting: ESLint
  • Formatting: Prettier

This template leverages the Next.js App Router, offering enhanced layouts, component colocation, data fetching capabilities, and compatibility with Vercel Edge Functions and serverless deployments.

It offers an integrated billing solution, providing a seamless experience for SaaS platforms. While Lemon Squeezy offers a built-in Customer Portal, this template allows for closer integration with your SaaS platform.

nextjs-billing screenshot | ATemplate.com

A template
Copy badages awards

Newsletter For Templates

Join the Community For Templates

Subscribe to Templates newsletter for the latest news and updates