A starter template for building authenticated web applications with Better Auth and Next.js.
- Email & Password: Simple and secure authentication
- Multi-Factor Authentication (MFA): Extra security layer
- Password Reset: Password recovery flow
- Email Verification: Email address verification
- Roles & Permissions: Access control
- Session Management: Session handling
-
Clone the repo:
git clone https://github.com/guisarria/boring-template cd your-repo -
Install dependencies:
bun install
-
Set up environment variables:
cp .env.example .env
Configure your database connection and auth settings in
.env.
bun devOpen http://localhost:3000 in your browser.
- Next.js 16 - React Framework
- Better Auth - Authentication
- Drizzle ORM - Database ORM
- Neon - Serverless Postgres
- Bun - JavaScript Runtime & Package Manager
- Tailwind CSS v4 - Styling
- Base UI - Accessible Components
- Motion - Animations
- Lucide Icons - Icons
- Tiptap - Rich Text Editor
- TanStack Query - Data Fetching
- TanStack Form - Form Management
- Zod - Schema Validation
- Resend - Email Service
- Nuqs - URL State Management
- Neverthrow - Type-safe Error Handling
- Ultracite - Linting & Formatting
