Simple Express.js + Vercel example that uses Vercel Postgres to add and display users in a table.
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:
Deploy the example using Vercel:
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