Git Product home page Git Product logo

himawari's Introduction

HimaWari 葵

一款使用Websocket实现的聊天程序

用户注册

  • 用户输入用户名,QQ,密码
  • 点击注册后,发送相关信息到服务器后端
  • 后端判断用户是否已经注册,如果已经注册,则返回false,如果没有注册,那么注册成功

用户登录

  • 用户输入用户名和密码
  • 点击注册按钮,将信息发送到服务器后端
  • 后端判断用户是否注册,如果没有注册,则返回false,如果已经注册,那么验证密码是否正确

用户聊天

  • 单聊

    • TODO
  • 群聊

    • 多群同时聊天
    • 聊天流程:
      • 1.用户打开群聊1
      • 2.客户端载入数据库中已保存的消息
      • 3.用户发送消息时,先保证消息已经发送成功,并且在聊天服务器中返回了自己发送的消息之后,数据库对该消息进行保存
      • 4.用户切换群聊时,客户端使聊天室ID发生更改,当再次发送消息时,同3流程

himawari's People

Contributors

qinwusui avatar qinsansui avatar

Stargazers

codestudio avatar

Watchers

 avatar

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.