Skip to content

huqi-pr/express-vercel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

git clone https://github.com/vercel/examples/tree/main/solutions/express

Install the Vercel CLI:

npm i -g vercel

Then run the app at the root of the repository:

vercel dev