NestJS Gateway 공식문서
Socket.io 공식문서
with Brian Johnson's youtube channel click here
- Namespace 구분 없는 단순 실시간 통신 구현
- 2개의 Namespace(chat, alert)가 존재하는 실시간 대화 구현
- 3개의 Chat Room이 존재하는 실시간 대화 구현
NestJS의 Gateway 생성 명령어
$ nest g gateway chat chat
chat 디렉토리
와 chat.gateway.ts
생성