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

[ BE ] 요청 , 채팅 보내기 API 구현, 소켓 이벤트 구현 #190

Merged
merged 24 commits into from
Nov 16, 2021

Conversation

Noelsky-code
Copy link
Member

개발 내용

  • 서버 db 모델 -> team, request, chat 모델 type 수정 -> autoIncrement column undefined 허용

호출 API 구현

  • 신청하기 : post api/core/postRequest body : {from : string|number , to : string|number}
  • 거절하기 post api/core/denyRequest body : {from : string|number , to : string|number}
  • 수락하기 post api/core/acceptRequest body : {from : string|number , to : string|number}

api/core/ 하위 파일들 전부 수정 , api/chat/service , api/auth/service 로직 추가해줌

서버 emit 이벤트

신청하기 : receiveRequest -> data : RequestType
거절하기 : receiveDenyRequest -> data : {from:string ,to:string}
수락하기 : receiveAcceptRequest -> data : { ChatInfoType , from , to }

api/core/service 에서 db 테이블 수정 이후 또는 테이블에서 데이터를 가져와 가공해온 후 이벤트를 emit 하도록 구현

@Noelsky-code Noelsky-code added 👑 리뷰 요청 리뷰 요청 BE 백엔드 labels Nov 15, 2021
@Noelsky-code Noelsky-code added this to the 프로젝트 4주차 milestone Nov 15, 2021
@Noelsky-code Noelsky-code self-assigned this Nov 15, 2021
@jin-Pro jin-Pro merged commit 7441c63 into dev Nov 16, 2021
@Noelsky-code Noelsky-code added this to 완료 in 4 주차 Nov 16, 2021
@jin-Pro jin-Pro deleted the Feat/ServerSocket branch August 8, 2022 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE 백엔드 👑 리뷰 요청 리뷰 요청
Projects
4 주차
완료
Development

Successfully merging this pull request may close these issues.

None yet

2 participants