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

도전과제 api 작성 #123

Closed
1 task
dg1418 opened this issue Feb 12, 2025 · 0 comments · Fixed by #130
Closed
1 task

도전과제 api 작성 #123

dg1418 opened this issue Feb 12, 2025 · 0 comments · Fixed by #130
Assignees
Labels
API API 작업 feat 새로운 기능 추가

Comments

@dg1418
Copy link
Collaborator

dg1418 commented Feb 12, 2025

작업 개요

  • 도전과제 에 관한 어드민 api들을 작성합니다.
  • 전체적으로 유저 일일퀘스트 코드를 가져와 수정하겠습니다. 참조 : 유저의 일일퀘스트 api #103
  • 실제로 유저가 도전과제를 완료했는지 확인하는 작업이 아닙니다.
  • 단순히 도전과제 목록과 내용을 작성, 저장하는 api 입니다.

(수정)

  • 이 이슈는 기존 메인퀘스트에서 도전과제로 도메인네임이 바뀌었습니다.

  • 도전과제 클리어시 주는 보상인 "벳지"는 기존에는 다른 테이블에 저장되었지만테이블이 합쳐지며 도전과제 테이블에서 벳지의 이름도 함께 저장됩니다.
    이제 도전과제에서는 벳지의 정보도 가지고 있습니다.

  • 정규화가 안된걸로 볼 여지가 크지만.
    도전과제1 "섹션1을 클리어 하세요!"와 그 보상인 벳지1 "섹션1클리어!" 가 있을때,
    도전과제 1이 삭제 되었을 때, 벳지1이 지워지지 않을 이유가 무었일까?, 도전과제와 보상은 1대1매치인데 분리되야할 이유가 있을까
    생각하다가 테이블을 합쳐서 조회나 트랜젝션의 용이나 늘리자고 판단했습니다.

  • 사실 아직 이 결정이 옳바를지는 잘 모르겠습니다...

작업 목록

  • 도전과제 api , get,post,patch, delete

참고 사항

  • 일단시작 ~
@dg1418 dg1418 added API API 작업 feat 새로운 기능 추가 labels Feb 12, 2025
@dg1418 dg1418 self-assigned this Feb 12, 2025
dg1418 added a commit that referenced this issue Feb 16, 2025
dg1418 added a commit that referenced this issue Feb 16, 2025
dg1418 added a commit that referenced this issue Feb 16, 2025
dg1418 added a commit that referenced this issue Feb 16, 2025
@dg1418 dg1418 linked a pull request Feb 17, 2025 that will close this issue
2 tasks
dg1418 added a commit that referenced this issue Feb 17, 2025
dg1418 added a commit that referenced this issue Feb 17, 2025
@dg1418 dg1418 changed the title 메인 퀘스트 api 작성 도전과제 api 작성 Feb 17, 2025
@dg1418 dg1418 mentioned this issue Feb 17, 2025
1 task
dg1418 added a commit that referenced this issue Feb 17, 2025
dg1418 added a commit that referenced this issue Feb 17, 2025
dg1418 added a commit that referenced this issue Feb 18, 2025
…quest

유저 도전과제(UserChallenge) 페이지네이션API 및 생성 로직
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API API 작업 feat 새로운 기능 추가
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant