api/src/main.ts
Function bootstrap
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function bootstrap(): Promise<void> {
const logger: Logger = new Logger('bootstrap');
const serverConfig: any = config.get('server');
const app: INestApplication = await NestFactory.create(AppModule, {
logger: serverConfig.loggerLevel,