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

[ChatList, ChatRoom] 채팅 서버 구축 #195

Open
2 tasks
cho7778 opened this issue Jul 26, 2023 · 0 comments
Open
2 tasks

[ChatList, ChatRoom] 채팅 서버 구축 #195

cho7778 opened this issue Jul 26, 2023 · 0 comments
Assignees

Comments

@cho7778
Copy link
Collaborator

cho7778 commented Jul 26, 2023

As-Is

  • 채팅 서버가 없어 마크업만 도입 된 상태

To-Be

  • Node.js(Express)와 Socket.io를 이용하여 채팅 서버를 구축
  • 서버 구축 후 ChatList, ChatRoom UI 구현
@cho7778 cho7778 self-assigned this Jul 26, 2023
@cho7778 cho7778 changed the title [ChatList, ChatRoom] 채팅 서버 구현 [ChatList, ChatRoom] 채팅 서버 구축 Aug 7, 2023
cho7778 added a commit that referenced this issue Aug 20, 2023
- express, socket.io, socket.io-client 패키지 설치
- cd server, node index.js로 서버 실행 필요
- ChatList, ChatRoom에 들어갈 경우 서버와 통신 시작
- ChatRoom에서 텍스트 메시지를 전송하면 서버에서 받은 후 클라이언트 쪽으로 다시 전달. 보낸 메시지 확인하고자 할 때는 서버는 VScode 콘솔창, 클라이언트는 개발자도구->콘솔에서 확인 가능.
- {content: 'hi', time: '2023-08-20T14:29:25.088Z', isRead: false} 의 형태로 통신 가능
- 추후 DB생성 필요. 보낸 메시지 클라이언트 화면에 나타내기 필요.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant