{"id":27704450,"url":"https://github.com/FatDong1/VueBlog","last_synced_at":"2025-04-26T01:01:56.297Z","repository":{"id":47594135,"uuid":"89340083","full_name":"rudyxu1102/vue-blog","owner":"rudyxu1102","description":"Vue2 + Node.js + Mongodb 前后端分离的个人博客","archived":false,"fork":false,"pushed_at":"2020-11-05T17:32:27.000Z","size":333,"stargazers_count":674,"open_issues_count":5,"forks_count":191,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-04-22T09:03:24.547Z","etag":null,"topics":["blog","vue"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rudyxu1102.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-25T09:04:56.000Z","updated_at":"2025-04-11T08:06:14.000Z","dependencies_parsed_at":"2022-09-10T12:41:21.083Z","dependency_job_id":null,"html_url":"https://github.com/rudyxu1102/vue-blog","commit_stats":null,"previous_names":["fatdong1/vueblog"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudyxu1102%2Fvue-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudyxu1102%2Fvue-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudyxu1102%2Fvue-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudyxu1102%2Fvue-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rudyxu1102","download_url":"https://codeload.github.com/rudyxu1102/vue-blog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250917360,"owners_count":21507562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blog","vue"],"created_at":"2025-04-26T01:01:54.629Z","updated_at":"2025-04-26T01:01:56.291Z","avatar_url":"https://github.com/rudyxu1102.png","language":"Vue","readme":"# vue-blog\n\n\u003e Vue.js+Node.js+Mongodb+Express的前后端分离的个人博客\n\n\n## 主要技术构成\n前端主要技术栈为vue.js、vue-router、 vue-resource、 vuex\n\n后端主要技术栈为node.js、 mongodb、 Express\n\n## 博客功能\n### 前台页面\n- canvas粒子效果\n- 搜索文章\n- 动态显示文章\n- 留言\n- 文章分类显示\n- 评论文章\n- 文章目录\n\n### 后台管理页面\n- 发布文章\n- 存为草稿\n- 搜索文章\n- 修改账户\n- 权限验证\n- 登录验证\n- markdown编辑器\n\n## Setup\n\n运行环境\n- node.js\n- mongoDB\n\n克隆远程库\n```\ngit clone https://github.com/FatDong1/VueBlog.git\n```\n进入项目目录VueBlog后，安装依赖\n```\nnpm install\n```\n安装完数据库后，启动mongodb。（不要关闭当前窗口，然后重新打开另外一个dos窗口，进行下一个步骤）\n```\nmongod --dbpath d:\\data      // d:\\data 为数据库文件夹位置，可自行设置\n```\n运行服务器。（确保数据库mongodb已经启动，不要关闭当前窗口，然后重新打开另外一个dos窗口，进行下一个步骤）\n```\nnpm run start\n```\n在8082端口热重载开发，等待一会后，会自动弹出浏览器窗口，加载会比较慢，请耐心等待\n```\nnpm run dev\n```\n### 注意\n- 账户： boss    密码： 123456\n- 配置： 请将server/app.js和/server/api/comment.js里面的xxx@qq.com改为自己的邮箱，来测试邮箱通知功能\n- 邮箱通知功能，已经为大家注册了一个公用126邮箱去发送邮件，如果频繁发送邮件到一固定邮箱，则会被当成垃圾邮件被系统拦截。如果需要频繁发送邮件测试，可以在接收邮箱中设置邮箱白名单，也可以在接收邮箱中添加公用的126邮箱为联系人。\n- 登录界面在：最底下的——‘站长登录’\n\n### 效果展示\n#### 前台效果\n\n首页\n\n![主页](https://segmentfault.com/img/bVMKxp?w=1344\u0026h=646)\n\n博客所有文章\n\n![博客文章](https://segmentfault.com/img/bVNEvk?w=1346\u0026h=645)\n\n最近更新\n\n![最近更新](https://segmentfault.com/img/bVNEeZ?w=1345\u0026h=644)\n\n某一篇文章\n\n![文章](https://segmentfault.com/img/bVNEvl?w=1347\u0026h=635)\n\n留言\n\n![留言](https://segmentfault.com/img/bVMKyu?w=1339\u0026h=642)\n\n评论\n\n![评论](https://segmentfault.com/img/bVNEgl?w=1343\u0026h=645)\n\n#### 后台效果\n\n所有文章\n\n![所有文章](https://segmentfault.com/img/bVNEvp?w=1366\u0026h=644)\n\n搜索文章\n\n![搜索](https://segmentfault.com/img/bVNEvo?w=1366\u0026h=644)\n\n 修改账户\n\n![修改账户](https://segmentfault.com/img/bVNEiV?w=1366\u0026h=638)\n\nmarkdown编辑器\n\n![编辑器](https://segmentfault.com/img/bVNEiK?w=1366\u0026h=643)\n\n移动端演示\n\n![移动端](https://segmentfault.com/img/remote/1460000009411216?w=318\u0026h=568)\n### 目录\n```\n│  .babelrc             babel配置\n│  .editorconfig        编辑器配置\n│  .eslintignore        eslint忽略\n│  .eslintrc.js         eslintrc配置\n│  .gitignore           git上传忽略\n│  .postcssrc.js\n│  debug.log\n│  index.html           打包模板\n│  package.json\n│  README.md\n│  LICENSE\n│\n├─build\n│\n├─server                服务端\n│      │\n│      ├─ api           Restful接口\n│      │\n│      ├─ db            数据库\n│      │\n│      ├─ middlewares   中间件\n│      │\n│      ├─app.js\n│      └─email.js\n│\n├─src\n│   │  main.js        项目入口\n│   │  App.vue          根组件\n│   │\n│   ├─assets          外部引用文件\n│   │  ├─css\n│   │  └─js\n│   │\n│   ├─components      vue组件\n│   │  ├─back         后台组件\n│   │  ├─front        前台组件\n│   │  └─share        共享组件\n│   │\n│   ├─ lib\n│   │\n│   ├─router          路由\n│   │\n│   └─store           vuex文件\n│\n└─static            静态文件\n```\n\n\n### TODO\n- 添加服务器配置教程\n- 简化webpack配置\n- 添加代码规范。BEM + JsDoc\n- 重构代码\n\n\n","funding_links":[],"categories":["Demo示例"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFatDong1%2FVueBlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFatDong1%2FVueBlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFatDong1%2FVueBlog/lists"}