# 橘子博客 **Repository Path**: benny5/orange-blog ## Basic Information - **Project Name**: 橘子博客 - **Description**: 使用springboot,uniapp开发 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: http://119.29.7.47/orange-blog/#/ - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-04-12 - **Last Updated**: 2021-04-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 博客系统 ## 项目介绍 本项目采用前后端分离 ## 功能组成 - 橘子博客 - 读者端 采用前后端分离,前端使用`uniapp` - 橘子博客 - 作者端 ## 部署方式 采用nginx反向代理 1. 将blog文件夹中使用`Hbuilder`导入,之后点击`发行 - > 网站-H5手机版`,将编译后文件复制到nginx的html文件夹内 2. 下载源码 3. 创建数据库,建表文件在项目根目录`blog.sql` 4. 修改两个项目中`application.yml`中数据库配置修改成自己的 5. 在项目的根目录使用`mvn package`将项目打包,打包后的项目分别在`blog-reader/target`和`blog-author/target`中 6. 将项目分别使用`java -jar blog-reader.jar`和`java -jar blog-author`运行后台 7. 前端页面:, 后台管理: nginx配置文件 ```conf user root; worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; proxy_intercept_errors on; sendfile on; keepalive_timeout 65; server { listen 80; server_name localhost; location ^~ /blog-reader/ { proxy_pass http://127.0.0.1:8088/; index index.html index.htm; } location ^~ /blog-author/ { proxy_pass http://127.0.0.1:8089/; index index.html index.htm; } location / { root /usr/share/nginx/html; index index.html index.php; } } } ``` ## 项目进度 - 20200918: - 初始化项目 - 作者端文章删除、预览 - 读者端发送评论,文章评论显示 - 作者端管理留言 - 20200919 - 完成评论内容的业务逻辑 - 20200920 - 修改前端展示页面,修复文章展示逻辑 ## 后端技术栈 web层框架:Springboot 持久层框架: - [mubatis-plus](https://baomidou.com/) - [druid](https://github.com/alibaba/druid/) - spring-data-redis 工具包:[hutool](https://www.hutool.cn/) 权限框架: - [sa-token](http://sa-token.dev33.cn/) - spring security ## 前端依赖项目 富文本编辑器:[wangEditor](http://www.wangeditor.com/) 富文本编辑器:[quill](https://quilljs.com/) Markdown编辑器:[editor.md](https://github.com/pandao/editor.md)