Skip to content

Conversation

@jueuunn7
Copy link
Member

@jueuunn7 jueuunn7 commented Dec 13, 2025

요약

  • 개선된 구조와 기능으로 User 앱 복원
  • 프로젝트 구조를 src/에서 Django 표준 레이아웃으로 마이그레이션
  • 의존성 관리 도구를 Poetry에서 uv로 전환
  • 코드 품질 관리를 위한 pre-commit hook 추가
  • CI/CD 워크플로우를 uv 사용하도록 업데이트

변경사항

프로젝트 구조

  • src/ 디렉토리 구조에서 Django 표준 레이아웃으로 재구성
  • apps/, api/, config/, core/ 디렉토리로 코드 정리
  • 레거시 앱 제거: account, community, crypto, exchange, holding, market, order, stock

User 앱

  • 모델, 서비스, 태스크를 포함한 apps/users/ 생성
  • api/users/에 사용자 관련 API 엔드포인트 구현
  • Celery를 활용한 사용자 관리 기능 및 비동기 작업 추가

개발 도구

  • 빠른 의존성 관리를 위해 Poetry에서 uv로 마이그레이션
  • isort와 black 포매터를 사용하는 pre-commit 설정 추가
  • 일관된 포매팅을 위해 isort가 black 프로필을 사용하도록 설정
  • GitHub Actions 워크플로우를 uv 사용하도록 업데이트

설정 및 구성

  • 설정을 config/settings/로 재구성 (base, local, test)
  • WSGI 및 Celery 설정 개선
  • Redis를 활용한 캐시 관리 강화
  • 코어 예외 처리 및 throttle 추가

API 및 문서화

  • OpenAPI 문서화를 위한 drf-spectacular를 사용한 internal API 설정
  • Swagger 및 ReDoc 엔드포인트 추가
  • 적절한 API 버저닝 구조 구현

🤖 Generated with https://claude.com/claude-code

@jueuunn7 jueuunn7 self-assigned this Dec 13, 2025
@jueuunn7 jueuunn7 linked an issue Dec 13, 2025 that may be closed by this pull request
@jueuunn7 jueuunn7 requested a review from Copilot December 13, 2025 16:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

이 PR은 사용자 인증 기능을 복원하고 프로젝트 구조를 개선합니다. 주요 변경사항은 사용자 이메일 인증 시스템 구현, 프로젝트 의존성 관리 도구를 Poetry에서 uv로 변경, 그리고 API 문서화 설정입니다.

  • 이메일 인증 코드 발송 기능 구현 (Celery 비동기 작업 활용)
  • 패키지 관리 도구를 Poetry에서 uv로 마이그레이션하고 Python 버전을 3.12로 업그레이드
  • drf-spectacular를 사용한 OpenAPI 문서화 설정 추가

Reviewed changes

Copilot reviewed 25 out of 35 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
templates/verify_code.html 이메일 인증 코드 전송용 HTML 템플릿 추가
pyproject.toml Poetry에서 uv로 의존성 관리 방식 변경 및 Python 버전 업그레이드
jusicool/urls.py internal_api URL 패턴 추가 및 api 경로 수정
internal_api/urls.py drf-spectacular 문서화 엔드포인트 설정
core/throttles.py 분당 1회 제한 throttle 클래스 구현
core/exceptions.py APIError로 클래스명 변경 및 InvalidRequestError 추가
core/cache/prefix.py 캐시 키 프리픽스 Enum 정의
core/cache/cache.py Redis 캐시 래퍼 클래스 구현
config/urls.py 사용되지 않는 config/urls.py 파일 삭제
config/settings/local.py Redis 데이터베이스 번호 변경 (0 → 1)
config/settings/base.py 이메일, Celery, OpenAPI 설정 추가
config/celery.py Celery 애플리케이션 초기화
config/init.py Celery 앱 자동 로드 설정
apps/users/tasks.py 이메일 인증 코드 발송 Celery 작업
apps/users/services.py 사용자 인증 비즈니스 로직
apps/users/models.py User 모델 정의
apps/users/migrations/0001_initial.py User 모델 마이그레이션
apps/users/apps.py Users 앱 설정
api/users/views.py 이메일 인증 코드 요청 API 뷰
api/users/urls.py users API URL 패턴
api/users/serializers.py 이메일 인증 요청 serializer
api/users/schema.py OpenAPI 스키마 정의
api/urls.py users API 엔드포인트 포함
.github/workflows/style.yml Python 3.12 및 uv 사용으로 업데이트
.github/workflows/isort.yml style.yml에 통합되어 삭제
Files not reviewed (1)
  • .idea/runConfigurations/Jusicool_Server.xml: Language not supported

@jueuunn7 jueuunn7 changed the title [GH-177] user app 복원 [GH-177] user app 개발 Dec 13, 2025
@jueuunn7 jueuunn7 merged commit e324b05 into develop Dec 13, 2025
2 checks passed
@jueuunn7 jueuunn7 deleted the issue-177--restore-user-app branch December 13, 2025 17:43
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.

user app 복원

2 participants