1 min read


Vercel now supports NestJS applications, a popular framework for building efficient, scalable Node.js server-side applications, with zero-configuration.
src/main.ts
import 'reflect-metadata';import { Controller, Get, Module } from '@nestjs/common';import { NestFactory } from '@nestjs/core';
@Controller()class AppController { @Get() getHello() { return 'Hello, world!'; }}
@Module({ controllers: [AppController],})class AppModule {}
NestFactory.create(AppModule).then(app => app.listen(3000));
A "Hello World" NestJS app on Vercel
Backends on Vercel use Fluid compute with Active CPU pricing by default. This means your NestJS app will automatically scale up and down based on traffic, and you only pay for what you use.
Deploy NestJS on Vercel or visit the NestJS on Vercel documentation