INNER CODE UNIT · TypeScript

bootstrap

VincentJouanne/nest-clean-architecture · api-gateway/src/main.ts:12

async function bootstrap() {
  const app = await NestFactory.create(AppModule);
  const logger = app.get(PinoLoggerService);
  logger.setContext('main');
  app.useLogger(logger);

  const options = new DocumentBuilder()
    .setTitle('Nest Clean Architecture FP Demo')
    .setVersion('1.0')
    .setDescription(
      `### REST

Routes is following REST standard (Richardson level 3)

<details><summary>Detailed specification</summary>
<p>

**List:**

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…