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

Feat: 메인 기능 구현 #14

Merged
merged 1 commit into from
Aug 4, 2024

Conversation

SuKyeong2002
Copy link
Collaborator

@SuKyeong2002 SuKyeong2002 commented Aug 4, 2024

🚩 관련 이슈

📋 구현 기능 명세

  • 메인 3가지 기능 구현 (일일 출석, 보유 오브제 조회, 오브제 꾸미기)

📌 PR Point

  • 메인 기능 구현을 위해 코드 변경

  • 일일 출석/보유 오브제 조회 시 백엔드에서 데이터를 받아오기

  • 오브제 변경 시 localStorage에서 objectStatuses에 대한 boolean값 활용

  • 데이터 받을 때 .data 한 번 더 안 붙혀서 백엔드 오빠랑 고생함...

  • 왜 .data를 한 번 더 붙여야 하지?

  • ㄴ 내부 데이터 객체: 응답 객체의 data 속성 내에 실제 응답 데이터가 포함되므로

📸 결과물 스크린샷

image
image
image
image
image
image
image

🛠️ 테스트

  • 일일 출석 (출석 버튼 클릭 시 날마다 마일리지 3점 획득)
  • 일일 출석 (같은 날에 2번 클릭 시 이미 얻었다는 알림창 뜨도록 예외 처리)
  • 보유 오브제 조회 (사용자가 보유한 오브제 리스트를 아이콘과 함께 조회)
  • 오브제 꾸미기 (사용자가 보유한 오브제의 상태를 true/false 값으로 관리)

🚀 API Endpoint

@SuKyeong2002 SuKyeong2002 added ✨ Feat 새로운 기능 추가 💄 Style 스타일링 관련 labels Aug 4, 2024
@SuKyeong2002 SuKyeong2002 self-assigned this Aug 4, 2024
Copy link

vercel bot commented Aug 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
moodfriend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 4, 2024 5:55pm

@GraceKim527 GraceKim527 merged commit a883258 into LikeLion-12th-SKHU:dev Aug 4, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feat 새로운 기능 추가 💄 Style 스타일링 관련
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants