Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.05 KB

README.md

File metadata and controls

41 lines (25 loc) · 1.05 KB

Express.js on Vercel

Simple Express.js + Vercel example that uses Vercel Postgres to add and display users in a table.

How to Use

BE sure to create a Vercel Postgres database and add you environment variables to your .env file. You can find an example of the .env file in the .env.example file.

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

First, clone the entire repository:

git clone https://github.com/vercel/examples.git

Navigate to the specific example directory:

cd examples/solutions/express

Install the Vercel CLI:

npm i -g vercel

Then run the app at the root of the repository:

vercel dev