Skip to content
Avatar of vercelvercel/examples

Node.js Serverless Function

Use Node.js with Vercel Serverless Functions.

Framework
Use Case
CSS
node-dark

Node.js Hello World

Simple Node.js + Vercel example that returns a "Hello World" response.

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:

Clone and Deploy

git clone https://github.com/vercel/examples/tree/main/solutions/node-hello-world

Install the Vercel CLI:

npm i -g vercel

Then run the app at the root of the repository:

vercel dev
node-dark
Avatar of vercelvercel/examples

Node.js Serverless Function

Use Node.js with Vercel Serverless Functions.

Framework
Use Case
CSS

Node.js Hello World

Simple Node.js + Vercel example that returns a "Hello World" response.

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:

Clone and Deploy

git clone https://github.com/vercel/examples/tree/main/solutions/node-hello-world

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