[1조] 김원경 Board 프로젝트 제출#12
Open
kwoo28 wants to merge 39 commits intojohnny19991006:mainfrom
Hidden character warning
The head ref may contain hidden characters: "board_api_\ud68c\uace0"
Open
Conversation
유저id, 아이디, 비밀번호, 닉네임, 이메일, 생성일자 구현
게시글id, 유저id, 제목, 내용, 해시태그, 생성일자 구현
controller에서 날짜는 받지않고, service에서 현재 날짜 생성해서 set한 후에 insert할 예정
스프링3.0부터는 springdoc만 가능. springfox는 20년이후로 업데이트가 끊김
Controller에서 try catch문으로 되어있어, 비지니스 로직의 가독성이 떨어짐을 controllerAdvice를 이용해 controller에 비지니스 로직에 집중하게 변경. 또한 상태코드에 대한 enum 추가
API를 이용할때 로그인아이디보단 유저 고유 id를 통해 접근하는것이 낫기때문에 id로 변경
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.
No description provided.