Giter Site home page Giter Site logo

bosen365 / boot-chat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tycoding/boot-chat

0.0 1.0 0.0 3.66 MB

:bookmark: 基于SpringBoot + WebSocket的在线聊天系统,实现单窗口消息推送、群消息推送、上线提醒、Redis会话消息储存

Home Page: http://39.105.46.235:8087/

Java 0.49% JavaScript 83.52% CSS 5.18% Vue 10.67% HTML 0.14%

boot-chat's Introduction

基于SpringBoot + WebSocket + Vue实现在线聊天系统

Build Status Downloads Coverage Status Coverage Status

线上地址

Chat

欢迎star、fork支持

介绍

本仓库中包含了两个子项目:

  • session-chat 基于HTTPSession实现会话消息储存,受限于不同浏览器Session不能共享导致的数据丢失(如果使用同一浏览器测试则不会出现问题)

  • redis-chat 基于Redis实现会话消息储存,会话数据不会丢失,并使用定时任务,定时清除Redis中注册时间过长的用户数据以及其会话消息

文档

更多文档将在我的公众号 程序员涂陌 中陆续发布,请持续关注!

程序员涂陌
qrcode_for_gh

捐赠

Alipay WechatPay
alipay_258px wechat_258px

写在前面

本仓库中包含的是两个项目:

  • 如果使用 session-chat 项目,则开箱即用
  • 如果使用 redis-chat 项目,启动前需要配置好本地Redis环境才可。

注意 由于WebSocket限制,HTML与服务端通信,需要保证WebSocket链接的IP和浏览器访问的IP项目,如果是localhost就都是localhost,如果是127.0.0.1就都改为127.0.0.1,否则可能消息推送失败。

联系

QQ交流群:671017003

boot-chat's People

Contributors

tycoding 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.