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

[ Team 관련 API ] 팀 관련 API 구현 #120

Merged
merged 60 commits into from
Nov 10, 2021
Merged

[ Team 관련 API ] 팀 관련 API 구현 #120

merged 60 commits into from
Nov 10, 2021

Conversation

Noelsky-code
Copy link
Member

개발 내용

  • 팀 정보 획득 API 구현
  • 팀생성 API 구현
  • [프론트] 팀 생성 페이지 - 팀 생성 API 연동
  • 팀원 초대 API 구현
  • [프론트] 팀원 초대 API 와 연동
  • 팀원 초대 모달 구현
  • 팀 정보 수정 API 구현
  • [프론트] 팀 정보 수정 API 연동
  • 채팅 정보 내역 가져오기 API 구현

ddaynew365 and others added 30 commits November 8, 2021 16:09
Team Create Page 에서 입력한 값대로 팀 생성 되는지 확인하기 위해 버튼 클릭 이벤트 , ref 추가
테스트 하기 위해 초대하기 모달 생성 , api 수정
테스트 하기 위해 teamSettingPage 로직 수정
axios 에서 originTeamName은 기존 팀 이름을 전달하면 됨
jin-Pro and others added 21 commits November 10, 2021 00:49
Team Create Page 에서 입력한 값대로 팀 생성 되는지 확인하기 위해 버튼 클릭 이벤트 , ref 추가
테스트 하기 위해 초대하기 모달 생성 , api 수정
테스트 하기 위해 teamSettingPage 로직 수정
axios 에서 originTeamName은 기존 팀 이름을 전달하면 됨
offset 을 이용해서 채팅 내역을 추가로 가져오게 만들었음
@Noelsky-code Noelsky-code self-assigned this Nov 9, 2021
@Noelsky-code Noelsky-code added 👑 리뷰 요청 리뷰 요청 BE 백엔드 FE 프론트엔드 labels Nov 9, 2021
return (
<div css={InputLabelStyle}>
<p css={LabelStyle}>{label}</p>
<Input placeholder={placeholder} />
<Input placeholder={placeholder} ref={refProps} />
Copy link
Member

Choose a reason for hiding this comment

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

Input value를 UseRef로 관리하는 이유가 뭐죠??

location,
leader,
});
};
Copy link
Member

Choose a reason for hiding this comment

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

리더 ID가 자기 자신이어야하지 않나?? 굳이 리더 ID를 입력해야하는건가 싶음.

console.log(uid);
const data = await findChatRoomInfo({ uid }); //[chatroomId, member=[]]
//[chatroomId,member=[],chatMessages[]]
res.send(data);
Copy link
Member

Choose a reason for hiding this comment

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

try/catch로 에러 대비해야하지않으려나????

return Participant.findAll(query({ chatRoomId }));
});
const memberData = await Promise.all(promiseArr);
const filteredMemberData = memberData.map((chatRoomMember) => {
Copy link
Member

Choose a reason for hiding this comment

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

처음 db에 접근해서 얻어온 값에 대해 join을 할 수 없어서 db 접근을 여러번해야하는건가?

@Noelsky-code Noelsky-code merged commit 27b3a91 into dev Nov 10, 2021
@jin-Pro jin-Pro deleted the Feat/API/Team branch August 8, 2022 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE 백엔드 👑 리뷰 요청 리뷰 요청 FE 프론트엔드
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants