Skip to content

Commit af33042

Browse files
author
shimh-develop
committed
document
1 parent c4a9342 commit af33042

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

README.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,73 @@ Vue + SpringBoot实现的博客系统
2626

2727
## 评论
2828
![image](https://github.com/shimh-develop/blog-vue-springboot/blob/master/document/comment.png)
29+
30+
# 技术
31+
32+
## 前端 blog-app
33+
34+
- Vue
35+
- Vue-router
36+
- Vuex
37+
- ElementUI
38+
- mavon-editor
39+
- lodash
40+
- axios
41+
- Webpack
42+
43+
## 后端 blog-api
44+
45+
- SpringBoot
46+
- Shiro
47+
- Jpa
48+
- Redis
49+
- Fastjson
50+
- Druid
51+
- MySQL
52+
- Maven
53+
54+
# 实现功能
55+
56+
## 整体
57+
58+
- 用户:登录 注册 退出
59+
- 首页:文章列表、最热标签、最新文章、最热文章
60+
- 文章分类-标签:列表、详情
61+
- 文章:写文章、文章详情
62+
- 评论:文章添加评论
63+
64+
## 后端
65+
- 用户、文章、文章分类、标签和评论 增删改查api接口
66+
- 基于token权限控制
67+
- Redis存储Session
68+
- 全局异常处理
69+
70+
# 待实现功能
71+
- 文章、评论等的分页
72+
- 评论回复、点赞
73+
- 留言板
74+
- 后端日志记录
75+
- ......
76+
77+
# 运行
78+
79+
将项目clone到本地
80+
81+
## 方式一 直接运行SpringBoot项目(已将打包的静态文件放到了 resources/static下)
82+
1 将blog-api导入到IDE工具中
83+
2 resources/sql/blog-schema.sql、blog-data.sql导入MySQL数据库
84+
3 打开Redis数据库
85+
4 resources/application.properties 修改MySQL、Redis连接
86+
5 Runas运行,访问:http://localhost:8888
87+
88+
## 方式二 前后分离(开发方式)
89+
1 按方式一运行blog-api,提供api数据接口
90+
2 打开命令行
91+
> cd blog-app
92+
> npm install
93+
> npm run dev
94+
3 访问:http://localhost:8080
95+
4 修改blog-app/src 下的文件进行开发
96+
97+
98+

0 commit comments

Comments
 (0)