Giter Club home page Giter Club logo

zhihu's Introduction

zhihu仿知乎问答社交平台简介


这是一个仿知乎的问答社交平台网站,界面与基本功能均仿照知乎。目前实现包括注册,提问,回答,点赞,关注,私信等功能。
技术选型

后端
核心框架:Spring Framework 4.2.5
视图框架:Spring MVC 4.2.5
持久层框架:MyBatis 3.4.2
缓存框架:Redis 3.2.100
数据库:MySQL 5.7
搜索:ElasticSearch 2.3.4
</br 前端
JS框架:jQuery 2.1.1
CSS框架:Twitter Bootstrap 3.3.7
富文本编辑器:wangEditor

网站界面

注册 image   主页 image 点赞 image   回答 image   搜索 image   私信 image  

Quick Started

1、安装redis,ElasticSearch等软件,注意版本
2、在MySQL中建立zhihu数据库,将data.sql(下方网盘链接)导入
3、将zhihu数据库中需要搜索的数据导入ElasticSearch,这里我采用的导入工具是elasticsearch-jdbc
4、将项目导入IDEA,运行(注意:之前别忘了启动mysql,redis,ElasticSearch)
5、在登录注册界面可以自己注册,也可以使用测试账号登录:用户名:18812345678 密码:123456

####注意 1、由于data.sql太大,这里通过百度网盘提供下载:http://pan.baidu.com/s/1dFj6wJf
2、redis(windows版)下载地址:https://github.com/MSOpenTech/redis/releases
3、ElasticSearch 提供网盘下载地址:http://pan.baidu.com/s/1jIODE5K
(包括了elasticsearch-jdbc,要导入的话运行elasticsearch-2.3.4\elasticsearch-jdbc\bin\mysql-simple-example.bat)
4、目前版本问题bug较多,有一部分只是演示页面,后续会逐渐修复与更新。

zhihu's People

Contributors

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