Giter Site home page Giter Site logo

lsprivategit / wechat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from misterchaos/wechat

0.0 1.0 0.0 38.07 MB

:telephone_receiver:QG工作室终期考核:QG版微信,一个在线聊天系统,提供实时聊天,账户管理,好友管理,聊天记录管理,聊天群组,朋友圈,相册等功能。后台使用Java,tomcat,mysql,servlet,jsp,前端使用html,js,css,ajax,通信上使用websocket,json来实现,没有使用任何后端框架

Home Page: http://47.102.210.203:8080/wechat/

License: Apache License 2.0

Java 91.05% CSS 1.00% HTML 7.95%

wechat's Introduction

wechat


release release release

😄Introduction

QG工作室终期考核项目:QG版微信(黄钰朝)

wechat是一个在线聊天系统,提供实时聊天,账户管理,好友管理,聊天记录管理,聊天群组,朋友圈,相册等功能
后台技术:Java,tomcat,mysql,servlet,jsp
前端技术:html,js,css,ajax
通信技术:websocket,json

✔️Quick Start

👉点击这里立即体验

💡Information

开发者:黄钰朝
联系邮箱:[email protected]
项目开发时间:2019-05-01至2019-05-10
版本号:1.0.0
开源许可:Apache License 2.0

☀️Features

1.登陆页面

登陆页面可以选择输入邮箱号和密码进行登陆,登陆之后将进入程序的主页面,也可以选择跳转到注册页面进行账号注册,还可以选择游客模式快速登陆,这种方式无须用户操作,系统将自动注册一个游客账号,并自动通过登陆验证,同样会进入程序的主页面,但是进入的是功能受限模式,无法使用好友和朋友圈的功能。输入框的左下角还有一个自动登陆选项,如果用户选择该选项,则在30天内在此浏览器上会执行自动登陆功能 img

2.聊天功能

聊天功能包括一对一单聊,多人群聊,聊天中可以发送文字,图片,文件等不同类型的消息内容,同时提供了保存聊天记录的功能,可以加载漫游的聊天记录,还支持自由更换聊天背景等个性化设置 img

3.朋友圈功能

用户可以查看好友的朋友圈,发布自己的朋友圈,朋友圈支持点赞和评论功能 img

4.项目亮点

img

🚩Installation

安装环境

Tomcat版本:9.0.17
Jdk 版本:1.8
MySQL版本:5.7

配置说明

  • 数据库配置文件路径:wechat/src/data_source.properties
  • sql文件路径: wechat/wechat.sql
  • 数据库配置:

配置文件中已配置阿里云服务器中的数据库,在联网情况下可以不用配置数据库,如果要更换数据库服务器,在运行sql文件时要将数据一并获取,否则需要在数据库chat表添加一个id为0的记录,作为聊天总群,并且在group表添加一个id为0的记录,作为默认好友分组,否则程序无法正常运行

  • web.xml配置说明:

中<location>的值为上传文件路径,需要改为项目文件中upload文件夹在系统中的绝对路径,并且idea的tomcat的deployment配置中配置web目录的application context 为空

  • 服务器主机名配置

如果运行环境的主机名不是localhost:8080,需要修改/web/views/index.jsp文件的第二行配置,将host的值改为对应的主机名

❓Problems

一直提示访问参数不足?

可能是数据库连接有问题,如果使用阿里云的数据库,先检查网络,其次,数据库连接池可能在并发访问的过程中出现问题,我测试时发现出现数据库连接问题,尝试使用线程锁进行改进了,但是我多线程的东西我还没学,应该没有处理好...

图片加载不出?

检查一下upload文件夹有没有配置路径映射...

⭐License

本软件仅供交流学习,不得用于商业用途

Copyright 黄钰朝

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

wechat's People

Contributors

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