Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Deploy Express backends using the Bun runtime.
Express on Bun is a Vercel boilerplate that pairs the Express.js web framework with the fast Bun JavaScript runtime, giving you a ready-to-deploy backend template for Vercel's serverless platform.
Express on Bun is a starter project from Vercel's official examples repository that combines the Express.js routing layer with the Bun runtime. It takes a minimal Express application as its input and produces a deployable serverless backend on Vercel, with a live reference available at example-express-bun.vercel.app. Users run the project locally with bun install and vc dev, then deploy it using vc deploy from the Vercel CLI.
vc dev, production builds use vc build, and publishing uses vc deploy.After cloning the repository, you install dependencies with bun install and start a local development server with vc dev, which listens on http://localhost:3000. To create a production bundle, run vc build, and to push it live, run vc deploy while logged into Vercel. The template includes the necessary Vercel configuration to run Bun as the runtime.
It uses Bun, a modern JavaScript runtime that is also a bundler and package manager. The Express code runs on Bun's runtime rather than Node.js.
You need the Vercel CLI installed globally on your machine. The template's setup steps assume you have Bun available, since it uses bun install for dependency management.
Yes. The Vercel Deploy button lets you create a new deployment directly from the repository URL by clicking it in the README. It clones the code into your Vercel account and builds it automatically.
The README links to a running instance at example-express-bun.vercel.app, which reflects the default Express app created by this template.
