LogoIndie Hacker Hub
icon of Nextjs Saas Template

Nextjs SaaS Template

A modern, open-source template for building SaaS applications with Next.js 15, Cloudflare Workers, and everything you need to launch quickly.

Introduction

The SaaS Template is a free, open-source, and production-ready template designed for building SaaS applications efficiently. It leverages Next.js 15, Cloudflare Workers, and modern technologies to provide a complete foundation, allowing developers to focus on unique features rather than boilerplate setup.

Key Features

  • Authentication: Ready-to-use system with email/password login, sign-up, password recovery, and session management via Lucia Auth.
  • Database & Email: Uses Drizzle ORM (Cloudflare D1) for the database and React Email (Resend) for templated emails.
  • Modern Tech Stack:
    • Next.js 15 (App Router, React Server Components, Server Actions, Edge Runtime).
    • Tailwind CSS & Shadcn UI for a polished, responsive design with dark/light mode.
  • Edge Deployment: Cloudflare Workers for global, low-latency performance with zero cold starts.
  • Developer Experience:
    • TypeScript support, GitHub Actions for CI/CD, and comprehensive documentation.
    • Built-in form validation (Zod + React Hook Form).
  • Team Collaboration: Designed for easy customization and scalability.

FAQs & Additional Info

  • Free & Open-Source: No cost, with community contributions encouraged.
  • Deployment: Includes guides for deploying via Cloudflare.
  • Customization & Preview: Email templates and UI components can be previewed and modified.
  • Support: Documentation and community resources available.

Information