Skip to content

aravdave/MealWithMe

Repository files navigation

name Vercel Postgres Next.js Starter
slug postgres-starter
description Simple Next.js template that uses Vercel Postgres as the database.
framework Next.js
useCase Starter
css Tailwind
database Vercel Postgres
deployUrl https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fstorage%2Fpostgres-starter&project-name=postgres-starter&repository-name=postgres-starter&demo-title=Vercel%20Postgres%20Next.js%20Starter&demo-description=Simple%20Next.js%20template%20that%20uses%20Vercel%20Postgres%20as%20the%20database.&demo-url=https%3A%2F%2Fpostgres-starter.vercel.app%2F&demo-image=https%3A%2F%2Fpostgres-starter.vercel.app%2Fopengraph-image.png&stores=%5B%7B"type"%3A"postgres"%7D%5D
demoUrl https://postgres-starter.vercel.app/
relatedTemplates
postgres-prisma
postgres-kysely
postgres-sveltekit

Vercel Postgres Next.js Starter

Simple Next.js template that uses Vercel Postgres as the database.

Demo

https://postgres-starter.vercel.app/

How to Use

You can choose from one of the following two methods to use this repository:

One-Click Deploy

Deploy the example using Vercel:

Deploy with Vercel

Clone and Deploy

Execute create-next-app with pnpm to bootstrap the example:

pnpm create next-app --example https://github.com/vercel/examples/tree/main/storage/postgres-starter

Once that's done, copy the .env.example file in this directory to .env.local (which will be ignored by Git):

cp .env.example .env.local

Then open .env.local and set the environment variables to match the ones in your Vercel Storage Dashboard.

Next, run Next.js in development mode:

pnpm dev

Deploy it to the cloud with Vercel (Documentation).

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors