Skip to content

About

Get started quickly with a Postgres database and a Next.js App Router application.

Resources

Security policy

Stars

58 stars

Watchers

2 watching

Forks

Repository files navigation

Next.js and Postgres Starter Template

Tech Stack

Getting Started

git clone https://github.com/vercel/postgres-next-starter
cd postgres-next-starter
pnpm install

Running Locally

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.

About

Get started quickly with a Postgres database and a Next.js App Router application.

Resources

Security policy

Stars

58 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages