Files
nest/tools/benchmarks/src/frameworks/nest-express.ts
Mykhailo Skrypskyi 3cb3c2d6ad feat: update benchmarks
2026-02-01 11:42:27 +02:00

14 lines
371 B
TypeScript

import { NestFactory } from '@nestjs/core';
import { ExpressAdapter } from '@nestjs/platform-express';
import { AppModule } from './nest/app.module';
NestFactory.create(AppModule, new ExpressAdapter(), {
logger: false,
bodyParser: false,
})
.then(app => app.listen(3000))
.catch(error => {
console.error('Error starting Nest.js application:', error);
});