Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] university board 기능 구현 #20

Merged
merged 17 commits into from
Jan 12, 2025

Conversation

u-genuine
Copy link
Member

@u-genuine u-genuine commented Jan 9, 2025


name: PULL_REQUEST_TEMPLATE
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''


PR Type

<!— Please check the one that applies to this PR using "x". —>

  • 버그수정(Bugfix)
  • 기능개발(Feature)
  • 코드 스타일 변경(Code style update) (formatting, local variables)
  • 리팩토링 (no functional changes, no api changes)
  • 빌드 관련 변경
  • 문서 내용 변경
  • Other… Please describe:

요약(Summary)

  • UniversityBoard 엔티티 생성
  • 학교 게시판 조회 기능 (인증된 유저에 한해)

상세 내용(Describe your changes)

📂 아키텍처

BoardController (API layer)
│
├── BoardService (Business Layer)
│   ├── UniversityBoardReader (Implement Layer - 게시판 즐겨찾기 조회)
│   │    └── UniversityBoardRepository (Data Access Layer)
│   │ 
├── BoardResponse (API 응답 DTO)

예시 API 요청 및 응답

요청 예시

  • URL: v1/api/boards/university
  • Method: GET
  • Headers:
    • Content-Type: application/json
    • Authorization: Bearer <토큰>

응답 예시

{
    "status": "OK",
    "data": {
        "boardDto": {
            "boardId": 1,
            "boardName": "홍익대학교 게시판"
        }
    },
    "timestamp": "2025-01-10 08:47:05"
}
{
    "code": "USER-002",
    "message": "학생 인증되지 않은 유저입니다.",
    "method": "GET",
    "requestURI": "/v1/api/boards/university"
}

Issue Number or Link

resolved #16

@u-genuine u-genuine linked an issue Jan 9, 2025 that may be closed by this pull request
3 tasks
Copy link
Member

@goalSetter09 goalSetter09 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다!

@goalSetter09 goalSetter09 merged commit 236d365 into develop Jan 12, 2025
@u-genuine u-genuine deleted the feature/16-university-board branch January 22, 2025 01:55
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.

[FEATURE] 학교 게시판 기능
2 participants