Skip to content

✨ auth 패키지 API 구현#4

Merged
Yeonu-Kim merged 23 commits into
mainfrom
feat/#3
Jun 15, 2026
Merged

✨ auth 패키지 API 구현#4
Yeonu-Kim merged 23 commits into
mainfrom
feat/#3

Conversation

@Yeonu-Kim

Copy link
Copy Markdown
Collaborator

No description provided.

Yeonu-Kim and others added 23 commits June 15, 2026 10:52
- User, EmailVerification 모델 정의
- 공통 스키마(SuccessResponse, Enum) 및 auth 스키마 추가
- JWT(access/refresh/verification token) 유틸 추가
- require_login 의존성 및 라우터 등록
- main.py: prefix /api, 전역 HTTPException 핸들러

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
passlib 1.7.4가 bcrypt 5.x와 호환되지 않아 4.x로 고정

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
base.py에서 모델을 임포트하면 모델이 초기화되는 도중에
다시 base.py를 임포트하려 해서 순환 참조가 발생함.
Alembic autogenerate를 위한 모델 임포트를 alembic/env.py로 이동.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
로컬 개발 환경에서 별도 DB 서버 없이 실행 가능하도록
aiosqlite 기반 SQLite로 전환. asyncpg 의존성 제거.
session.py에 SQLite용 check_same_thread 옵션 추가.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Yeonu-Kim Yeonu-Kim linked an issue Jun 15, 2026 that may be closed by this pull request
@Yeonu-Kim Yeonu-Kim merged commit 10cc378 into main Jun 15, 2026
1 check passed
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.

auth 패키지 관련 api 구현

1 participant