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

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from

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
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] 학교 게시판 기능
1 participant