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

feature: 구인 게시글 CRUD 구현 #59

Merged
merged 8 commits into from
Jun 12, 2024
Merged

feature: 구인 게시글 CRUD 구현 #59

merged 8 commits into from
Jun 12, 2024

Conversation

daeundada
Copy link
Member

  1. 구인 게시글 생성, 수정시 글과 함께 S3에 이미지 업로드가 가능하도록 구현했습니다.
  2. jobStartDate, jobEndDate 은 연-월-일 만 받아오는 값입니다. 불필요한 정보가 담긴 LocalDateTime이 아니라 LocalDate 으로 받아오도록 설정했습니다.
  3. 구인 게시글 전체 조회, 단건 조회를 구현했습니다.
  4. 구인 게시글 삭제시 S3에 이미지도 자동으로 삭제하는 로직을 구현했습니다.
  5. 이미지 정보는 BoardImage 엔티티와 레포지토리에서 따로 관리하도록 분리 했습니다.

@daeundada daeundada added the enhancement New feature or request label Jun 12, 2024
@daeundada daeundada self-assigned this Jun 12, 2024
Copy link
Member

@EUNCHAEv1006 EUNCHAEv1006 left a comment

Choose a reason for hiding this comment

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

이해가 쉽고 전체적으로 깔끔한 코드라는 느낌을 받았습니다.
고생하셨습니다.

@@ -34,6 +34,9 @@ dependencies {
// Springdoc OpenAPI
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.1.0'

// S3
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'
Copy link
Member

Choose a reason for hiding this comment

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

오오 이미지 시작인가요?

Copy link
Member

Choose a reason for hiding this comment

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

코드가 일관된 스타일이라 깔끔하네요.
다만, 나중에 스웨거를 추가해주시는 것이 좋을 듯 합니다.


private Integer salaryAmount;

private String sex;
Copy link
Member

Choose a reason for hiding this comment

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

성별을 String으로 받으셨네요.
트렌디하십니다.


private String jobContent;

private LocalDate jobStartDate;
Copy link
Member

Choose a reason for hiding this comment

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

날짜 필드에 @FutureOrPresent와 같은 유효성 검사를 추가하는 것이 어떨까요?

Copy link
Member Author

Choose a reason for hiding this comment

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

좋은 의견 인 것 같습니다. 수정 했습니다.🐈‍⬛

@daeundada daeundada linked an issue Jun 12, 2024 that may be closed by this pull request
4 tasks
@daeundada daeundada merged commit 7ae7d1a into dev Jun 12, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[jobBoard] 구인 게시글 CRUD
2 participants