인 메모리 데이터베이스, Redis (2편)
프로젝트에 Nest CLI를 사용해 레디스 모듈을 생성합니다. $ nest g mo redis 그리고 모듈에 캐시 모듈을 동적으로 주입 합니다. import { CacheModule, Module } from '@nestjs/common'; import { ConfigModule, ConfigService } from '@nestjs/config'; import * as redisStore from 'cache-manager-redis-store'; @Module({ imports: [ CacheModule.registerAsync({ imports: [ConfigModule], inject: [ConfigService], useFactory: async (configService: ConfigServi..