> For the complete documentation index, see [llms.txt](https://toothlessdev.gitbook.io/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://toothlessdev.gitbook.io/main/web-develop/nest-js/nestjs-websocket.md).

# NestJS WebSocket 으로 채팅 구현하기

```bash
npm install @nestjs/websockets @nestjs/platform-socket.io socket.io
```

```bash
nest g resource
```
