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] API 요청 함수 추가 #8

Merged
merged 5 commits into from
Feb 12, 2025
Merged

Conversation

LeeWxx
Copy link
Member

@LeeWxx LeeWxx commented Feb 9, 2025

🔖 관련 티켓

SN-10 (Jira 링크)

📌 작업 개요

서비스 API 요청 함수들을 추가하고, API 테스트를 위한 화면을 구현했습니다.

✅ 작업 항목

  • fetcher.ts 를 추가하여 API 요청을 공통적으로 처리하도록 구현
  • 엔드포인트별 API 함수 추가
  • 테스트 스크린 추가

📝 추가 설명

API 호출 함수 리스트

기능 함수명 설명 요청 방식
홈 배너 fetchHomeBanners() 홈 배너 조회 GET /banners/home
네일 fetchNails(params) 네일 목록 조회 GET /nails
fetchNailPreferences() 네일 취향 조회 GET /nails/preferences
saveNailPreferences(data) 네일 취향 저장 POST /nails/preferences
네일 세트 fetchRecommendedNailSets() 추천 네일 세트 조회 GET /nail-sets/recommendations
fetchUserNailSets(params) 사용자 네일 세트 조회 GET /users/me/nail-sets
createUserNailSet(data) 네일 세트 생성 POST /users/me/nail-sets
fetchNailSetFeed(params) 네일 피드 조회 GET /nail-sets/feed
fetchNailSetDetail(params) 네일 세트 상세 조회 GET /nail-sets/:nailSetId
fetchSimilarNailSets(params) 유사 네일 세트 조회 GET /nail-sets/:nailSetId/similar
사용자 fetchUserProfile() 사용자 정보 조회 GET /users/me

@LeeWxx LeeWxx requested a review from myunsyeya February 9, 2025 11:42
@LeeWxx LeeWxx changed the title Feature/sn 10 api fetcher [FEAT] API 요청 함수 추가 Feb 9, 2025
@LeeWxx LeeWxx merged commit 104127c into develop Feb 12, 2025
1 check passed
@LeeWxx LeeWxx deleted the feature/SN-10-api-fetcher branch February 12, 2025 15:18
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.

1 participant