Skip to content

refactor: Colab 코드를 FastAPI 폴더 구조(app/, services/, models/)로 리팩토링#3

Merged
sunnyanna0 merged 1 commit intomainfrom
refactor/#1-colab-구조이전
Jul 12, 2025

Hidden character warning

The head ref may contain hidden characters: "refactor/#1-colab-\uad6c\uc870\uc774\uc804"
Merged

refactor: Colab 코드를 FastAPI 폴더 구조(app/, services/, models/)로 리팩토링#3
sunnyanna0 merged 1 commit intomainfrom
refactor/#1-colab-구조이전

Conversation

@sunnyanna0
Copy link
Member

⭐Key Changes

  1. 기존 Colab 기반 코드 전체를 FastAPI 프로젝트 구조(app/, models/, services/)로 분리
  2. 뉴스 변환, 요약, 단어 추출 기능을 각각 summarizer.py, difficulty_filter.py로 모듈화
  3. 라우터(api/news_transform.py), 모델(models/news.py), 실행 진입점(main.py) 정리

🖼️ 화면 캡쳐 / 테스트 결과 (선택)

  • FastAPI 실행 및 ngrok 연결 테스트 완료
  • /api/news/transfer POST 요청 시 정상 응답 확인됨
image

📌 issue

@sunnyanna0 sunnyanna0 self-assigned this Jul 12, 2025
@sunnyanna0 sunnyanna0 merged commit 294e336 into main Jul 12, 2025
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.

♻️ [Refactor] - Colab 코드 GitHub 프로젝트 구조로 이전 및 리팩토링

1 participant