You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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생성 필요. 보낸 메시지 클라이언트 화면에 나타내기 필요.
As-Is
To-Be
The text was updated successfully, but these errors were encountered: