Skip to content

nestjs 랜덤 소캣 채팅💬 애플리케이션

Notifications You must be signed in to change notification settings

lgm1007/random-chatting

Repository files navigation

Socket Chattings 앱

📝기획노트

기능

  • 랜덤 대상 채팅 애플리케이션
  • 채팅 데이터는 DB 상에 저장 관리한다.

기술 스택

  • Nest.js
  • MongoDB

💾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

DB Struct

  • socket_model
{
    id: socket.id,
    userName: 사용자 이름
}
  • chattings_model
{
    _id: 1120978jdk391012u (ObjectId),
    user: {
        _id: dalkshjdkj30192323j (ObjectId),
        id: socket.id,
        userName: 사용자 이름
    },
    chat: 채팅 내용
}

Application ScreenShot

screenshot

About

nestjs 랜덤 소캣 채팅💬 애플리케이션

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published