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 구현 #5

Open
12 tasks done
mjeongriver opened this issue Feb 23, 2025 · 0 comments · May be fixed by #7
Open
12 tasks done

[Feat] 상품 및 카테고리 관련 API 구현 #5

mjeongriver opened this issue Feb 23, 2025 · 0 comments · May be fixed by #7
Assignees
Labels
📬 API 서버 API 통신 ✨ Feature 기능 개발

Comments

@mjeongriver
Copy link
Collaborator

mjeongriver commented Feb 23, 2025

기능 개요

상품 및 카테고리 관련 API를 개발합니다.

  • 상품 등록, 조회, 수정, 삭제 기능을 포함합니다.
  • 카테고리 등록, 조회, 수정, 삭제 기능을 포함합니다.
  • 관리자(admin)와 일반 사용자(user) 기능을 구분합니다.

기능 목록

사용자 + 관리자 공통 API (상품)

  • GET /products → 상품 목록 조회
  • GET /products/{id} → 상품 상세 조회

관리자 전용 API (상품)

  • POST /products → 상품 등록
  • PUT /products/{id} → 상품 수정
  • DELETE /products/{id} → 상품 삭제

사용자 + 관리자 공통 API (카테고리)

  • GET /�categories/active → 활성화된 카테고리 목록 조회

관리자 전용 API (카테고리)

  • GET /�categories → 모든 카테고리 목록 조회
  • GET /{id}/�sub-categories → 세부 카테고리 조회
  • POST /�categories → 카테고리 등록
  • PATCH /�categories/{id} → 카테고리 수정
  • PATCH /categories/{id}/activate → 카테고리 활성화
  • PATCH /categories/{id}/deactivate → 카테고리 비활성화
@mjeongriver mjeongriver added ✨ Feature 기능 개발 📬 API 서버 API 통신 labels Feb 23, 2025
@mjeongriver mjeongriver added this to the CRUD 기능 개발 milestone Feb 23, 2025
@mjeongriver mjeongriver self-assigned this Feb 23, 2025
@mjeongriver mjeongriver changed the title [Feat] 상품 관련 API 구현 [Feat] 상품 및 카테고리 관련 API 구현 Feb 23, 2025
@mjeongriver mjeongriver linked a pull request Feb 23, 2025 that will close this issue
12 tasks
@mjeongriver mjeongriver reopened this Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📬 API 서버 API 통신 ✨ Feature 기능 개발
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant