Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE] redis를 사용해 최근 검색어 저장 #105

Merged
merged 25 commits into from
Nov 14, 2024

Conversation

jinddings
Copy link
Collaborator

✅ 주요 작업

  • redisUtil -> redisDomainService로 클래스 및 파일 이름 변경
  • 최근 검색어 10 개만 저장하도록 수정

💭 고민과 해결과정

  • 고민과 해결과정

jinddings and others added 22 commits November 13, 2024 16:17
@jinddings jinddings changed the base branch from dev to back/main November 14, 2024 04:31
@jinddings jinddings self-assigned this Nov 14, 2024
@jinddings jinddings merged commit 8c644a8 into back/main Nov 14, 2024
2 checks passed
Copy link
Collaborator

@sieunie sieunie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!

controllers: [StockListController],
providers: [StockListRepository, StockListService],
providers: [StockListRepository, StockListService, RedisDomainService],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 이거 RedisModule 임포트하면 providers에 RedisDomainService 추가 안해도 잘 동작하더라고요! providers에서는 빼도 될 것 같습니당

import Redis from 'ioredis';

@Injectable()
export class RedisDomainService {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 바꾸셨네용 좋습니다!! 저도 참고하겠습니다

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants