
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.