Coder Social home page Coder Social logo

pursuemilk / chat Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 0.0 114 KB

该论坛为在校学生提供一个交流互动的平台,加强同学之间的交流及加快信息的传输。系统采用前后端分离技术,实现了登录注册、发帖评论、点赞关注、内容搜索、系统通知、私信等功能。

License: Apache License 2.0

Java 100.00%

chat's Introduction

校园论坛

本论坛系统为在校学生提供一个交流互动平台,便于学生获取信息,分享校园生活、交流学习经验及心得等。系统采用前后端分离技术(SpringBoot+Vue开发),实现了登录注册、发帖评论、点赞关注、内容搜索、系统通知、私信等功能。

技术栈:SpringBoot、Mybatis、Mysql、Redis、RabbitMQ、ElasticSearch

功能实现:

  • 发表文章(markdown格式,富文本编辑,可上传图片)
  • 评论文章
  • 回复评论
  • 邮件发送(注册时发送激活邮件)
  • 系统通知
  • 关注
  • 收藏
  • 点赞
  • 搜索
  • 聊天(类似网页版微信)

技术实现

  • 使用Redis存储登录Token,解决分布式Session问题

  • 通过字典树对帖子进行敏感词过滤

  • 使用定时器,定时计算帖子分数生成热榜

  • 通过切面编程对点赞接口进行限流

  • 采用websocket技术实现即时聊天

  • 使用Redis缓存文章信息,提升访问速度和并发量,减少数据库压力

  • 使用RabbitMQ异步实现系统通知、邮件发送,降低请求响应时间,提升用户体验

  • 使用ElasticSearch实现文章搜索功能,通过IK中文分词实现对文章的模糊查询

项目预览图

论坛首页

image-20230213214009420

个人主页

image-20230213213946241

发表文章

image-20230213213600378

文章详情

image-20230213214038163

文章搜索

image-20230213213918097

通知页面

image-20230213214108752

启动

在此之前请确保在application.yaml文件中正确配置Mysql、Redis、RabbitMQ、ElasticSearch有关信息并确保它们的正常运行,然后可启动程序。

LICENSE

chat is under the Apache license. See the LICENSE file for details.

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.