Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Next.js + Tailwind + TypeScript + Drizzle + NextAuth + PostgreSQL starter with email/password login.

Free Bootstrap 4 design system with over 100 components, pre-built pages, and a full UI kit for faster web projects.
Next.js PostgreSQL Auth Starter is an open-source boilerplate from Vercel that combines Next.js with NextAuth.js, Drizzle ORM, and a PostgreSQL database to deliver a working email-and-password authentication flow out of the box.
The Next.js PostgreSQL Auth Starter is a starter kit published by Vercel on GitHub at github.com/vercel/nextjs-postgres-auth-starter. It provides a ready-to-run Next.js application with email + password authentication already wired up, using NextAuth.js for sessions, Drizzle as the ORM, and a Neon Postgres database hosted through Vercel to persist user data. The repository has 1052 stars on GitHub and covers both local development and one-click Vercel deployment.
The template's key features center on the integration of the Next.js App Router, NextAuth.js, Drizzle, and Vercel Postgres, plus a one-click deployment path.
pnpm dev at http://localhost:3000; it also links to the official Next.js documentation and interactive tutorial.npx create-next-app nextjs-typescript-starter --example "https://github.com/vercel/nextjs-postgres-auth-starter".You can clone it by running the provided npx create-next-app --example command, then start developing with pnpm dev and opening http://localhost:3000. For production, the one-click Vercel deploy creates a new project from the GitHub repository, provisions a Postgres store through the Vercel integration, and asks you to set the AUTH_SECRET environment variable to finish the setup.
Yes. The starter is open source on GitHub under the Vercel organization, and there is no fee to clone, deploy, or use it.
It uses PostgreSQL through Vercel's Postgres product, powered by Neon. Drizzle ORM handles the data access layer.
NextAuth.js with a simple email + password login. The repository topics list next-auth and nextauthjs as the authentication focus.
During one-click deployment, Vercel asks for an AUTH_SECRET. The deploy flow links to generate-secret.vercel.app for creating a random secret; Postgres connection details come automatically from the store integration.
