Skip to content

Express.js on Vercel

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

RepositoryAvatar of vercelvercel/examples
Framework
Use Case
CSS
Database
Express.js on Vercel thumbnail

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:

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
Express.js on Vercel thumbnail

Express.js on Vercel

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

RepositoryAvatar of vercelvercel/examples
Framework
Use Case
CSS
Database

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:

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

Unleash New Possibilities

Deploy your app on Vercel and unlock its full potential