[FEAT] 게시판 CRUD API 구현#13
Merged
Merged
Conversation
충돌 해소: - User.java: Auth 팀 구현(origin/main) 수용 - passwordHash, name, provider, deleted 필드 포함 - UserRole.java: origin/main 스타일 수용 (내용 동일) - UserRepository.java: origin/main 수용 - existsByEmail, existsByNickname 추가 ErrorCode 통합: - Auth 팀 추가분(DUPLICATE_EMAIL, DUPLICATE_NICKNAME) 유지 - Post CRUD 필요분(UNAUTHORIZED, FORBIDDEN, POST_NOT_FOUND) 추가 Post CRUD 파일 추가: - domain/post 전체 (PostType, Post, DTOs, Repository, Service, Controller) - global/security/SecurityUtil Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
yongseong123
approved these changes
Jun 1, 2026
Collaborator
yongseong123
left a comment
There was a problem hiding this comment.
기능 정상 구현 확인했습니다.
이메일 검증 및 JWT 필터, 로그인 연동은
추후 업데이트 하겠습니다!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
작업 개요
변경 사항
관련 이슈
테스트
체크리스트
API 변경 사항
추가 또는 변경된 엔드포인트:
POST /api/postsGET /api/postsGET /api/posts/{postId}PATCH /api/posts/{postId}DELETE /api/posts/{postId}요청 예시:
{ "postType": "QNA", "courseId": 1, "category": "BACKEND", "title": "스프링 질문입니다", "content": "게시글 내용입니다." }{ "id": 1, "postType": "QNA", "courseId": 1, "category": "BACKEND", "title": "스프링 질문입니다", "content": "게시글 내용입니다.", "authorNickname": "user", "createdAt": "2026-06-01T10:00:00", "updatedAt": "2026-06-01T10:00:00" }에러 응답:
UNAUTHORIZED: 로그인이 필요한 요청FORBIDDEN: 작성자 또는 관리자 권한이 없는 요청POST_NOT_FOUND: 게시글을 찾을 수 없는 요청리뷰 포인트