Deploy Node servers with zero configuration
Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.

You can now deploy a Node.js server to Vercel with zero configuration.
Vercel detects a server.ts file at the project root or at src/server.ts and deploys it as a Node.js application, in addition to existing zero-configuration backends like Express, Koa, and NestJS:
server.ts
import { createServer } from 'node:http'
const server = createServer((req, res) => { res.end('Hello from Node.js on Vercel!')})
server.listen(process.env.PORT ?? 3000)A Node app deployed on Vercel
Vercel CLI can handle local development and deployment:
# Run the server locallyvc dev
# Create a deploymentvc deployBoth commands pick up server.ts automatically, with no configuration files required.
Backends on Vercel are powered by Fluid compute with Active CPU pricing.
Learn more about the Node.js runtime on Vercel.
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.