Skip to content

feat(profile): 팔로우 시스템 — Read Only (DB + API + Frontend) #17

@thxforall

Description

@thxforall

Summary

프로필 페이지 팔로워/팔로잉 수 실데이터 연결. v10.0은 read only (팔로우/언팔로우 write는 v10.1).

v10.0 Roadmap Phases

  • Phase 46: Follow System Backend (DB 마이그레이션 + Rust API)
  • Phase 47: Follow System Frontend (Orval 재생성 + FollowStats 연결)

Backend Requirements

  • Supabase user_follows 테이블 생성 (마이그레이션 SQL)
  • GET /api/v1/users/{userId}/followers/count 엔드포인트
  • GET /api/v1/users/{userId}/following/count 엔드포인트
  • UserResponsefollowers_count/following_count 필드 추가

Frontend Requirements

  • OpenAPI spec 업데이트 + Orval 재생성
  • FollowStats.tsx 하드코딩(1234/567) 제거, 실제 데이터 연결

Codebase Audit Notes

  • user_follows 테이블: 미존재 (Supabase 12개 테이블 중 없음)
  • FollowStats.tsx: default props followers=1234, following=567 하드코딩
  • UserResponse 스키마: followers/following 필드 없음
  • Follow 관련 Rust 코드: 0줄

Out of Scope (v10.1)

  • 팔로우/언팔로우 write 액션 (POST/DELETE /users/{id}/follow)
  • 팔로워/팔로잉 목록 페이지

REQ IDs

FLLW-01~05

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions