Skip to Content

Elysia

Ergonomic framework for humans

Frameworks

Deploy the following backends to Vercel with zero-configuration.

Backends on Vercel

Backends deployed to Vercel receive the benefits of Vercel's infrastructure, including:

Express

Fast, unopinionated, minimalist web framework for Node.js

Flask

The Python micro web framework

Universal, Tiny, and Fast Servers


Deploy Deploy

NestJS

Framework for building efficient, scalable Node.js server-side applications

Deploy

Nitro

To process background tasks with Python, you can deploy Celery or Dramatiq workers as queue-triggered Vercel Functions.

View Demo

Nitro is a next generation server toolkit.

If you are transitioning from a fully managed server or containerized environment to Vercel’s serverless architecture, you may need to rethink a few concepts in your application since there is no longer a server always running in the background.

Deploy

WebSockets

The following are generally applicable to serverless, and therefore Vercel Functions (running with or without Fluid compute).


Database Connections

Last updated August 20, 2026

Cross-link map: Backends on Vercel (/docs/frameworks/backend)From the Vercel docs graph (built 2026-09-21T05:26:59.511Z), spanning vercel.com docs + KB, nextjs.org, ai-sdk.dev, and other Vercel documentation sites. Full graph as JSON: https://vercel.com/docs/graph.jsonSemantically closest pagesHow Vercel Services run on Fluid compute — The backends in a Vercel Services project run as Vercel Functions on Fluid compute by default. Learn how optimized concuHosting your API on Vercel — Learn how to build and scale performant APIs on Vercel.WebSockets — Serve WebSocket connections in Vercel Functions for realtime features like chat, collaboration, and AI streaming.Vercel Functions — Build API routes, webhooks, and agent request handlers with Vercel Functions, then test and debug them with Vercel CLI.Vercel Services: Run full stack on VercelThis page links to (11)Environments — Environments are for developing locally, testing changes in a pre-production environment, and serving end-users in produFluid compute — Learn about fluid compute, an execution model for Vercel Functions that provides a more flexible and efficient way to ruRun background tasks with Celery on Vercel — Deploy Celery on Vercel. Learn how Celery workers use Vercel Queues and Vercel Functions to run background tasks withoutDeploy Dramatiq workers on Vercel — Deploy Dramatiq workers on Vercel. Learn how Dramatiq actors use Vercel Queues and Vercel Functions to process backgroun@vercel/functions API Reference \(Node.js\) — Learn about available APIs when working with Vercel Functions.Vercel Functions Limits — Learn about the limits and restrictions of using Vercel Functions.Fluid compute pricing — Learn about usage and pricing for fluid compute on Vercel.WebSockets — Serve WebSocket connections in Vercel Functions for realtime features like chat, collaboration, and AI streaming.Performing an Instant Rollback on a Deployment — Learn how to perform an Instant Rollback on your production deployments and quickly roll back to a previously deployed pRolling Releases — Learn how to use Rolling Releases for more cautious deployments.Vercel Firewall — Learn how Vercel Firewall helps protect your applications and websites from malicious attacks and unauthorized access.Pages that link here (4)By site: vercel-kb (4)Efficiently manage database connection pools with Fluid compute — How to create high-performance database connection pools without leaking connectionsHow to gradually roll out new versions of your backend — Incrementally release updates to your backend to minimize impact of mistakes.Build an MCP Server with Weather tools using Express and Vercel — Make your Express weather API accessible to AI assistants through the Model Context Protocol.How to ship an H3 app on Vercel — Deploy an H3 app to Vercel with zero configuration. Learn to configure streaming, middleware, cron jobs, the Bun runtime

To manage database connections efficiently, use the attachDatabasePool function from @vercel/functions.

Next

Store persistent state, rooms, presence, and pub/sub coordination in an external data store instead of relying on in-memory state. Learn more in the WebSockets documentation.

Previous

Vercel Functions can serve WebSocket connections when Fluid compute is enabled. WebSocket connections follow Vercel Function limits, including maximum duration, so clients should handle reconnects when a connection closes.

Frontends

Was this helpful?