refactor: wip to nestjs

This commit is contained in:
Ahmed Bouhuolia
2024-12-25 00:43:55 +02:00
parent 336171081e
commit a6932d76f3
249 changed files with 21314 additions and 1616 deletions

View File

@@ -1,13 +1 @@
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { ServiceErrorFilter } from './filters/service-error.filter';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
// Register the ServiceErrorFilter globally
app.useGlobalFilters(new ServiceErrorFilter());
await app.listen(3000);
}
bootstrap();