INNER CODE UNIT · TypeScript

bootstrap

tkssharma/nestjs-microservices · apps/nestjs-redis-auth-service/src/main.ts:15

async function bootstrap() {
  const app = await NestFactory.createMicroservice(TokenModule, {
    transport: Transport.REDIS,
    options: {
      url: `redis://localhost:6379`,
    } as RedisOptions,
  });
  await app.listen();
}
bootstrap();

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…