{"repo":"MicrowebPG/nextjs-template","free":true,"listed":false,"github":"https://github.com/MicrowebPG/nextjs-template","clone":"git clone https://github.com/MicrowebPG/nextjs-template.git","description":"A Next.js 16 starter template featuring Better-Auth authentication, Drizzle ORM (PostgreSQL), Husky git hooks, and Commitlint for conventional commits.","language":"TypeScript","stars":17,"topics":["better-auth","husky","template","nextjs","feature-based","commitlint","oxlint","postegresql","drizzle","service-repository-pattern"],"license":null,"category":"auth-billing-email","readme_excerpt":"Next.js 16 Template A modern web application template built with Next.js 16, Better Auth for authentication, Drizzle ORM (PostgreSQL), Husky for git hooks, and Commitlint for enforcing conventional commits. Tech Stack - Next.js : React framework with Turbopack for blazing fast builds - React : Latest React with improved performance - Better Auth : Modern authentication library with email/password support - Drizzle ORM : Lightweight, type-safe ORM for PostgreSQL - Tailwind CSS : Latest utility-first CSS framework - TypeScript : Type-safe JavaScript - OXLint / OXFmt : Fast Rust-based linter and formatter - Vitest : Fast unit test framework with great DX - Husky : Git hooks for code quality - Commitlint : Enforces conventional commit message standards Getting Started Prerequisites - Node.js = 18 - npm or yarn - PostgreSQL database Installation Environment Variables Create a .env file with the variables in .env.example . Drizzle Setup Running the App App will be available at http://localhost:3000 Authentication This project uses Better Auth for authentication with the following features: - Email/Password Authentication : Built-in support for email and password login - Role-Based Access Control : Three user roles - USER, ADMIN, DEVELOPER - Session Management : Secure sessions with 7-day expiry and daily updates - Database Integration : Drizzle adapter for PostgreSQL Authentication Setup - Better Auth is configured in lib/auth/index.ts - Client-side auth utilities in lib/auth/clien","default_branch":null,"files":null,"tree":[],"storefront":"/r/MicrowebPG","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MicrowebPG/nextjs-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}