Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/b2stry/mytwitter
一个模仿Twitter的Java Web项目(基于原生的Servlet)
https://github.com/b2stry/mytwitter
java javaweb servlet
Last synced: 21 days ago
JSON representation
一个模仿Twitter的Java Web项目(基于原生的Servlet)
- Host: GitHub
- URL: https://github.com/b2stry/mytwitter
- Owner: b2stry
- License: apache-2.0
- Created: 2017-09-09T02:31:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-21T15:23:57.000Z (over 5 years ago)
- Last Synced: 2024-08-05T17:27:12.209Z (4 months ago)
- Topics: java, javaweb, servlet
- Language: Java
- Homepage:
- Size: 20.5 MB
- Stars: 268
- Watchers: 4
- Forks: 77
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - b2stry/mytwitter - 一个模仿Twitter的Java Web项目(基于原生的Servlet) (Java)
README
_ _ _ _
| | (_) | | |
_ __ ___ _ _| |___ ___| |_| |_ ___ _ __
| '_ ` _ \| | | | __\ \ /\ / / | __| __/ _ \ '__|
| | | | | | |_| | |_ \ V V /| | |_| || __/ |
|_| |_| |_|\__, |\__| \_/\_/ |_|\__|\__\___|_|
__/ |
|___/### 关于
一个模仿Twitter的Java Web项目(基于原生的Servlet)### 使用说明
```bash
# 1.使用命令拉取代码:
git clone https://github.com/b2stry/mytwitter.git
# 2.使用IDEA or Eclipse or STS导入本项目
# 3.新建数据库create database mytwitter; 导入数据库文件mytwitter.sql
# 4.修改com/twitter/util/DBUtil.java中的数据库链接和密码
# 5.运行项目
1.直接在IDE中Run On Server运行
2.从IDE中导出一个war包放到tomcat的webapps目录下,启动tomcat
# 6.浏览器访问:
http://127.0.0.1:8080 or other
```### 环境
* jdk:1.8
* tomcat:8.5
* mysql:5.7### 界面展示
> 由于页面没有做响应式,推荐使用1366*768分辨率![首页](https://raw.githubusercontent.com/b2stry/imgrepo/master/index.png)
![注册界面](https://raw.githubusercontent.com/b2stry/imgrepo/master/register.png)
![登录界面](https://raw.githubusercontent.com/b2stry/imgrepo/master/login.png)
![主界面](https://raw.githubusercontent.com/b2stry/imgrepo/master/main.png)
![发推](https://raw.githubusercontent.com/b2stry/imgrepo/master/tui.png)
![通知界面](https://raw.githubusercontent.com/b2stry/imgrepo/master/notify.png)
![用户界面](https://raw.githubusercontent.com/b2stry/imgrepo/master/self.png)
![其他用户界面](https://raw.githubusercontent.com/b2stry/imgrepo/master/other.png)
![聊天界面](https://raw.githubusercontent.com/b2stry/imgrepo/master/message.png)
![查询用户界面](https://raw.githubusercontent.com/b2stry/imgrepo/master/seacher.png)