git clone https://github.com/vercel/postgres-next-starter
cd postgres-next-starter
pnpm installUse the included setup script to create your .env file:
pnpm db:setupThen, run the database migrations and seed the database:
pnpm db:generate
pnpm db:migrate
pnpm db:seedFinally, run the Next.js development server:
pnpm devOpen http://localhost:3000 in your browser to see the app in action.