Template
A Next.js 13 starter application featuring authentication, payments, PlanetScale DB, Drizzle ORM, Lucia auth, Tailwind CSS, and LemonSqueezy integration.
Comprehensive Next.js 13 Starter with Authentication & Payments
This project serves as a robust Next.js 13 template, integrating essential features for modern web applications. It leverages the app directory, PlanetScale for database management, Drizzle ORM for type-safe SQL, Lucia for authentication, and LemonSqueezy for payment processing. Styled with Tailwind CSS and offering UI components from shadcn/ui, it's designed to accelerate development for projects requiring these core functionalities, though users should note it's an experimental build intended for exploration.
Features:
- Next.js App Directory Usage: Utilizes the Next.js app directory for its structure.
- Drizzle ORM Integration: Employs Drizzle ORM, a TypeScript ORM for SQL databases.
- Lucia Authentication: Implements user authentication using the Lucia library.
- PlanetScale Database Support: Configured for database operations on PlanetScale.
- shadcn/ui Components: Incorporates UI components from shadcn/ui for a polished interface.
- MDX Blog with Contentlayer: Features a blog powered by MDX and Contentlayer for content management.
- LemonSqueezy Subscriptions: Manages user subscriptions and payments via LemonSqueezy.
- Tailwind CSS Styling: Styled with Tailwind CSS for a utility-first approach to design.
- tRPC for Data Fetching: Utilizes tRPC for efficient, type-safe data fetching, including with React Server Components.
- Email Verification: Includes functionality for verifying user email addresses.
- Team Management: Supports team creation and team member management.
- RBAC with CASL: Implements Role-Based Access Control using the CASL library.
- Email System: Sends emails using Mailing for development previews and Resend for production.
Summary:
This Next.js 13 template offers a feature-rich starting point for developers building applications requiring authentication, payments, and a modern tech stack. It integrates PlanetScale, Drizzle ORM, Lucia, Tailwind CSS, and LemonSqueezy, along with functionalities like team management, RBAC, and an MDX blog. While it serves as an experimental project to explore the Next.js app directory, it provides a solid foundation for rapid development and learning about contemporary web technologies.
Tags:

Similar to Template:


