Giter VIP home page Giter VIP logo

realtimechatroom's Introduction

realtimeChatRoom

Node.js + Socket.IO 이용한 실시간 채팅웹

구현할 기능 목록

  • 들어온 사람, 나가는 사람 알림 (20.06.14 완료)
  • 닉네임 주기 (20.06.23 완료)
  • 메시지 보낸 시간 출력하기 (20.06.24 완료)
  • 현재 접속 중인 사람 목록 보여주기 (20.06.24 완료)
  • 입력 중인 사람 알리기 (20.06.25 완료)
  • 닉네임 변경하기 + 닉네임 중복 체크
  • 비밀 메시지 기능
  • IP주소로 들어오는 사람 중복 체크하기
  • HTML, JS(Jquery) 파일 분리하기
  • 웹 배포 연습

realtimechatroom's People

Contributors

yooonmyong avatar

Watchers

 avatar

realtimechatroom's Issues

채팅 웹에서 입력 중인 사람 표시 기능에 대해

<현재 방식>

  1. 클라이언트에서 0.5초마다 서버로 요청을 날린다. 이때 입력 창에 있는 문자 길이를 동봉해서 보낸다.
  2. 서버는 요청으로 받은 문자 길이가 1 이상이면 사용자가 입력 중이라 판단하여 true 값과 해당 사용자의 닉네임을 동봉하여 응답한다.
  3. 클라이언트는 true 값이 오면 접속 중인 사용자 이름 옆에 '입력 중...' 글자를 띄운다.
    아니면 안 띄우거나 기존에 띄워져 있던 것을 없앰.

0.5초마다 요청을 날리면 요청이 너무 많아져서 과부하가 걸리지 않을까 걱정된다.
다른 방법이 있는지 찾아봐야 될 것 같음

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.