Next.js + Drizzle Auth Starter
A Next.js Authentication starter template. Includes Drizzle, MySql, TanStack Query, TailwindCSS, shadcn/ui, zod and React Hook Form.
copy the .env.example file to .env
MYSQL_HOST=localhost
MYSQL_USER=root
MYSQL_PASSWORD=123456
MYSQL_DATABASE=next-drizzle
SESSION_SECRET_KEY=your-secret-key
Install dependencies
Generate the Drizzle
Migrate Database with Drizzle
Run the development server:
Open http://localhost:3000 with your browser to see the result.
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!