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

게시판 api 만들기 #1

Closed
5 tasks done
djkeh opened this issue Jun 2, 2022 · 1 comment · Fixed by #15
Closed
5 tasks done

게시판 api 만들기 #1

djkeh opened this issue Jun 2, 2022 · 1 comment · Fixed by #15
Assignees
Labels
enhancement New feature or request

Comments

@djkeh
Copy link
Owner

djkeh commented Jun 2, 2022

api 를 만든다.

  • API 설계
  • API 테스트 정의
  • API 구현
    • 게시글 API
    • 댓글 API
@djkeh djkeh self-assigned this Jun 2, 2022
@djkeh djkeh added the enhancement New feature or request label Jun 2, 2022
@djkeh djkeh added this to the 게시판 서비스 만들기 milestone Jun 2, 2022
@djkeh
Copy link
Owner Author

djkeh commented Jun 4, 2022

djkeh added a commit that referenced this issue Jun 10, 2022
API 를 간편하게 만들기 위해 스프링 부트에 기능을 추가
djkeh added a commit that referenced this issue Jun 10, 2022
게시글, 댓글의 json api 를 자동으로
restful 하게 만들게끔 설정
djkeh added a commit that referenced this issue Jun 10, 2022
꼭 필요한 테스트는 아니지만, 공부 겸 작성
data rest 테스트는 인테그레이션 테스트로
접근할 수 밖에 없다.

DB 접근이 일어나므로 안전을 위해 `@Transactional` 적용
테스트 안에서는 롤백 정책으로 동작한다.
djkeh added a commit that referenced this issue Jun 11, 2022
이것은 이 프로젝트의 비즈니스 로직으로 구현한 내용이 아니라
data rest 기능이고,
통합테스트라 무거우며 db 에도 영향을 준다.
공부 목적으로도 의미는 있기 때문에 삭제하지는 않고
제외 처리해서 전체 테스트 중에 실행되지 않게끔 처리
djkeh added a commit that referenced this issue Jun 11, 2022
Querydsl 사용할 수 있는 환경을 구성
자동 생성 클래스는 프로젝트에 포함되면 안되니까
`.gitignore` 로 제외
djkeh added a commit that referenced this issue Jun 11, 2022
`QuerydslPredicateExecutor`, `QuerydslBinderCustomizer`를 이용하여 간단하게 개발
@djkeh djkeh closed this as completed in #15 Jun 11, 2022
djkeh added a commit that referenced this issue Jun 11, 2022
게시판 api 만들기 - 구현까지 완료
hijoseph referenced this issue in hijoseph/project-board Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

1 participant