Skip to content

7주차 미션 / 1조 박민우#24

Open
mwpark01 wants to merge 3 commits into
Konkuk-KUIT:mwpark01from
mwpark01:mwpark01/week7
Open

7주차 미션 / 1조 박민우#24
mwpark01 wants to merge 3 commits into
Konkuk-KUIT:mwpark01from
mwpark01:mwpark01/week7

Conversation

@mwpark01

@mwpark01 mwpark01 commented May 15, 2026

Copy link
Copy Markdown

1. 미션

  • api 명세서와 설정 파일을 참고하여 api 명세서에 나온 api를 화면에 띄우면 됩니다.
    • UI에 반영

2. 구현에 대한 설명

1. Retrofit2를 활용한 서버 통신

  • Network & Data Layer
    • Retrofit API Interface (PostApiService): GET, POST, PATCH, DELETE 메서드를 정의하여 게시글 CRUD를 설계했습니다.
    • DTO 설계: 서버 통신을 위한 CreatePostDto, UpdatePostDto, PostDto를 정의하고, 도메인 모델로의 변환 로직(toDomain)을 추가했습니다.
    • Hilt DI: NetworkModule을 통해 Retrofit 객체와 ApiService를 싱글톤으로 주입받아 사용했습니다.
  • Domain Layer
    • Repository Interface: 인터페이스를 통해 추상화된 비즈니스 로직을 구현했습니다.
  • UI & ViewModel Layer
    • 상태 관리: PostUiState (Sealed Class)를 정의하여 Loading, Success, Error 상태를 관리했습니다.
    • PostViewmodel: viewModelScope 내에서 Coroutine을 사용하여 비동기 네트워크 요청을 수행하고, 결과를 UI State에 반영했습니다.
    • PostScreen (Compose):
      • 전체 조회, ID별 단일 조회, User ID 필터링 기능을 구현했습니다.
      • 게시글 등록, 수정, 삭제를 위한 입력 필드와 버튼 UI를 구현했습니다.

3. 스크린샷 & 실행영상

실습 미션
practice.mp4
mission.mp4

4. 기타

@coderabbitai

coderabbitai Bot commented May 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 60c104b0-17d9-4d63-8a7a-4e4868892102

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.


import kotlinx.serialization.Serializable

@Serializable

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

네비게이션 라우트와 dto 등에 쓰이는 직렬화 어노테이션입니다 이 상황에서는 쓰일 필요가 없습니다

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.

2 participants