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 구현 #59

Merged
merged 41 commits into from
Feb 22, 2024
Merged

Conversation

Sehee-Lee-01
Copy link
Member

@Sehee-Lee-01 Sehee-Lee-01 commented Feb 20, 2024

🎫 관련 이슈

Resolves #31

✅ 구현 내용

  • 프로젝트 게시글 저장 api 구현

💬 코멘트

@Sehee-Lee-01 Sehee-Lee-01 added this to the 🚀 2차 스프린트 milestone Feb 20, 2024
@Sehee-Lee-01 Sehee-Lee-01 self-assigned this Feb 20, 2024
@Sehee-Lee-01 Sehee-Lee-01 changed the title Feat/#04 create project 프로젝트 게시글 저장 api 구현 Feb 20, 2024
Copy link

📝 Jacoco Test Coverage

Overall Project 45.95% -33.53%
Files changed 7.5%

File Coverage
FileType.java 100% 🍏
UserSearchResponse.java 100% 🍏
UserSummary.java 72.73% -27.27%
MemberSaveRequest.java 0%
ProjectSkillSaveRequest.java 0%
ProjectSaveRequest.java 0%
ProjectService.java 0%
FileService.java 0%
ProjectSkillService.java 0%
MemberService.java 0%
ProjectResponse.java 0%
MemberSummary.java 0%
OverviewImageSummary.java 0%
ProjectSkillSummary.java 0%
File.java 0% -33.33%
Project.java 0% -32.76%
ProjectSkill.java 0% -44.44%
ProjectController.java 0%
Member.java 0% -38.1%

# Conflicts:
#	src/main/java/sixgaezzang/sidepeek/projects/dto/response/MemberSummary.java
#	src/main/java/sixgaezzang/sidepeek/projects/service/ProjectService.java
Copy link
Contributor

@uijin-j uijin-j left a comment

Choose a reason for hiding this comment

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

프로젝트 저장이 저희의 메인 기능이라 정말 복잡하네요ㅠㅠ 넘넘 고생하셨습니다🥹🥹
기술스택, 프로젝트 멤버 저장까지.. 짱이에요..👍🏻👍🏻

아마 이것저것 생각할 부분이 많아서 요청/응답 DTO와 도메인에 유효성 검사 로직을 아직 작성하지 않으신 것 같은데..! 천천히 추가해 주시면 감사할 것 같습니다🥰
(헉 죄송해요..! 유효성 검사는 다음 PR에 올리신다는 글을 리뷰 다하고 봤네요..!!!! 전 똥멍청이 입니다😇😭 해당부분 리뷰는 무시해주세융..)

Comment on lines +9 to +25
String name,
String subName,
String overview,
String thumbnailUrl,
String githubUrl,
String deployUrl,
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
LocalDateTime startDate,
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
LocalDateTime endDate,
Long ownerId,
String description,
String troubleShooting,

List<String> overviewImageUrls,
List<ProjectSkillSaveRequest> techStacks,
List<MemberSaveRequest> members
Copy link
Contributor

@uijin-j uijin-j Feb 21, 2024

Choose a reason for hiding this comment

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

Spring Validation 추가해도 좋을 것 같습니당!
✔️ 필수값: 제목, 개요, 기술 스택, 깃허브 링크, 썸네일
✔️ 길이제한: 제목, 소제목 개요

Copy link
Member Author

Choose a reason for hiding this comment

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

ㅠㅠㅠㅠ감사합니다!! 다음 피알에 반영하겠습니당!♥♥

src/main/resources/db/migration/V1__init.sql Outdated Show resolved Hide resolved
Comment on lines 51 to 57
String role, String nickname) {
this.user = user;
this.userId = userId;
this.project = project;
this.authority = authority;
this.projectId = projectId;
this.role = role;
this.nickname = nickname;
Copy link
Contributor

@uijin-j uijin-j Feb 21, 2024

Choose a reason for hiding this comment

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

userId또는 user가 null이면 비회원 멤버이기 때문에 nickname이 필수인데, 유효성 검사 로직을 나중에 추가해 주셔도 될 것 같아용! (+ project, role도 필수값이라 나중에 null인지 확인하는 유효성 검사가 있으면 좋을 것 같습니당!)

Copy link
Contributor

@yenzip yenzip left a comment

Choose a reason for hiding this comment

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

역시 메인 도메인이기에 코드 양이 상당하네요..!
혹시 conflict 관련해서 도움이 필요하다면 언제든 삐삐쳐주세요! 🤙

정말 고생 많으셨습니다 ❤️‍🔥

Copy link

📝 Jacoco Test Coverage

Overall Project 45.48% -16.02%
Files changed 8.76%

File Coverage
UserSearchResponse.java 100% 🍏
UserSummary.java 72.73% -9.09% 🍏
MemberSaveRequest.java 0%
ProjectSkillSaveRequest.java 0%
ProjectSaveRequest.java 0%
ProjectService.java 0% -36.71%
FileService.java 0%
ProjectSkillService.java 0%
MemberService.java 0%
MemberSummary.java 0% -23.08%
Project.java 0% -5.17%
ProjectSkill.java 0% -33.33%
ProjectController.java 0% -72.41%
Member.java 0% -27.78%

Copy link

📝 Jacoco Test Coverage

Overall Project 45.48% -16.02%
Files changed 8.76%

File Coverage
UserSearchResponse.java 100% 🍏
UserSummary.java 72.73% -9.09% 🍏
MemberSaveRequest.java 0%
ProjectSkillSaveRequest.java 0%
ProjectSaveRequest.java 0%
ProjectService.java 0% -36.71%
FileService.java 0%
ProjectSkillService.java 0%
MemberService.java 0%
MemberSummary.java 0% -23.08%
Project.java 0% -5.17%
ProjectSkill.java 0% -33.33%
ProjectController.java 0% -72.41%
Member.java 0% -27.78%

Copy link

📝 Jacoco Test Coverage

Overall Project 44.6% -17.53%
Files changed 7.92%

File Coverage
UserSearchResponse.java 100% 🍏
UserSummary.java 72.73% -9.09% 🍏
MemberSaveRequest.java 0%
ProjectSkillSaveRequest.java 0%
ProjectSaveRequest.java 0%
ProjectService.java 0% -36.71%
FileService.java 0%
ProjectSkillService.java 0%
MemberService.java 0%
MemberSummary.java 0% -23.08%
Project.java 0% -5.17%
ProjectController.java 0% -72.41%
Member.java 0% -13.33%

Copy link

📝 Jacoco Test Coverage

Overall Project 45.28% -14.95%
Files changed 8.52%

File Coverage
AuthService.java 100% 🍏
UserSearchResponse.java 100% 🍏
LoginResponse.java 100% 🍏
UserSummary.java 72.73% -9.09% 🍏
MemberSaveRequest.java 0%
ProjectSkillSaveRequest.java 0%
ProjectSaveRequest.java 0%
ProjectService.java 0% -36.71%
FileService.java 0%
ProjectSkillService.java 0%
MemberService.java 0%
MemberSummary.java 0% -23.08%
Project.java 0% -5.17%
ProjectController.java 0% -72.41%
Member.java 0% -13.33%

@Sehee-Lee-01 Sehee-Lee-01 merged commit 3d886dd into dev Feb 22, 2024
2 checks passed
@Sehee-Lee-01 Sehee-Lee-01 deleted the feat/#04-create-project branch February 22, 2024 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

프로젝트 게시글 저장 api 구현 프로젝트 업로드 기능 구현
3 participants