1 Star 6 Fork 4

anoldboy / vue-blog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

vue-blog

介绍

项目整体学习参考的 b 站视频:SpringBoot开发一个小而美的个人博客。在原视频的基础上做了一定的修改,项目整体架构采用前后分离。后台框架依然采用了Springboot,身份认证采用token。持久层改用了Mybatis,前端使用Vue框架。

启动

  1. 进入文件夹springboot-->src-->main-->resources-->application-dev.yml设置本地的数据库账号密码

  2. 将mysql文件夹下的 vueblog.sql 放入数据库执行

  3. 使用 idea 打开springboot文件夹。等待maven下载环境,安装好后启动 springboot项目

  4. 进入vue文件夹,执行以下指令

npm install

npm run dev
  1. 在浏览器打开 http://localhost:8081/ ,即可访问项目
  2. 管理员入口 http://localhost:8081/#/login

注意

  1. 博客中使用了许多图片,为了能够直接看到效果。我将所有关于图片加载的部分都写死了。如果想要自己更换图片,需要自行修改源码。

  2. 后台登录账号 admin,登录密码 123456。可在数据库修改

  3. 编辑博客内容界面存在bug,需要将内容先在typora编辑好,再复制粘贴到文本框中

MIT License Copyright (c) 2021 anoldboy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

一个前端采用 Vue,后端采用 Springboot 的博客系统。具体效果观看我的博客 https://gpnuhzq.top/ 展开 收起
Java 等 5 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/anoldboy/vue-blog.git
git@gitee.com:anoldboy/vue-blog.git
anoldboy
vue-blog
vue-blog
master

搜索帮助