Giter Site home page Giter Site logo

netty_chatroom's Introduction

前言

该项目是基于Netty的聊天室实战项目,提供常规聊天功能,可供学习使用

项目简介

技术选型:

后端:Springboot + Netty + Mysql

前端:html + javascript+css

功能:

1.私聊,包括文字和表情

2.群聊

3.文件传送

4.私聊离线消息存储

效果图

登录界面

image

聊天室界面

image

使用方式

1.在.yml文件中将数据库连接的相关信息,如username和password修改为自己本地数据库的用户名和密码,若端口号3306也不同,也需要一同修改

2.在tb_user表中自行设置用户的用户名和密码,以便登录验证,头像图片路径存储举例:"../img/avatar/Member001.jpg"

3.默认端口为8091,如有需要更改,在.yml文件中更改即可

4.登录后用户信息采用的是传统的session存储,如果需要更改为JWT验证,项目中已有相关代码,可自行替换

netty_chatroom's People

Contributors

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