Get started quickly with a Postgres database and a Next.js App Router application.
TypeScript
57
5 commits
updated Dec 6, 2025
git clone https://github.com/vercel/postgres-next-starter
cd postgres-next-starter
pnpm install
Use the included setup script to create your .env file:
pnpm db:setup
Then, run the database migrations and seed the database:
pnpm db:generate
pnpm db:migrate
pnpm db:seed
Finally, run the Next.js development server:
pnpm dev
Open http://localhost:3000 in your browser to see the app in action.
27 followers · starred Dec 2024
TypeScript
98.0%
JavaScript
1.2%
Get started quickly with a Postgres database and a Next.js App Router application.
TypeScript
57
5 commits
updated Dec 6, 2025
git clone https://github.com/vercel/postgres-next-starter
cd postgres-next-starter
pnpm install
Use the included setup script to create your .env file:
pnpm db:setup
Then, run the database migrations and seed the database:
pnpm db:generate
pnpm db:migrate
pnpm db:seed
Finally, run the Next.js development server:
pnpm dev
Open http://localhost:3000 in your browser to see the app in action.
27 followers · starred Dec 2024
TypeScript
98.0%
JavaScript
1.2%