Skip to content

Chat on Nest.js, MongoDB and Socket.io (Login, Register, Messages, Chats)

Notifications You must be signed in to change notification settings

TrungDN1996/chat-api

Repository files navigation

Description

It is a chat on Nest.js(Passport(JWT+Local)), Socket.io and MongoDB(Mongoose). You can:

  1. Login, Register
  2. Create room, Read room by user_id.
  3. Create message, Read messages by room_id.

See OpenAPI(Swagger) http://localhost:3000/api/#/

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Stay in touch

About

Chat on Nest.js, MongoDB and Socket.io (Login, Register, Messages, Chats)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published