/nest-websockets-chat-boilerplate

Realtime chat with rooms using Nest.js + Websockets

Primary LanguageTypeScript

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Websockets chat

I decided to get familiar with websockets in Nest.js, realtime chat is the first thing that came to my mind

Features

  • PassportJS/JWT auth
  • Rooms
  • Kick/Ban user

Installation

$ npm install

Running the app

# start docker containers
$ docker-compose up

# development
$ npm run start

# watch mode
$ npm run start:dev