Skip to content

feat: 이클래스 과제 동기화 백엔드 구현 - #327

Draft
rdyjun wants to merge 1 commit into
mainfrom
feature/eclass-assignment
Draft

feat: 이클래스 과제 동기화 백엔드 구현#327
rdyjun wants to merge 1 commit into
mainfrom
feature/eclass-assignment

Conversation

@rdyjun

@rdyjun rdyjun commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • 이클래스(Moodle) 과제 스크래핑 데이터를 저장/조회하는 백엔드 구현
  • 프론트엔드 프록시 팝업에서 수집한 과제 정보를 DB에 upsert 저장

변경 사항

  • EclassAssignment 엔티티: member + eclassId 유니크 제약으로 중복 저장 방지
  • POST /eclass/assignments: 스크래핑된 과제 목록 일괄 저장 (기존 항목은 update)
  • GET /eclass/assignments: 로그인 사용자의 저장된 과제 목록 반환

연관 PR

Test plan

  • POST /eclass/assignments 저장 및 중복 upsert 동작 확인
  • GET /eclass/assignments 사용자별 조회 확인
  • 미인증 요청 401 반환 확인

🤖 Generated with Claude Code

- EclassAssignment 엔티티 추가 (member + eclassId 유니크 제약)
- 과제 저장 시 이미 존재하면 update, 없으면 insert (upsert)
- POST /eclass/assignments: 스크래핑된 과제 일괄 저장
- GET /eclass/assignments: 사용자별 저장된 과제 목록 조회

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Apr 13, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

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: 7b6724ec-02c7-4e6d-82f5-7d78f65e0825

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
  • Commit unit tests in branch feature/eclass-assignment

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.

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.

1 participant