{"id":16920990,"url":"https://github.com/crazylxr/node_blog","last_synced_at":"2026-04-06T08:02:21.198Z","repository":{"id":73667501,"uuid":"99206920","full_name":"crazylxr/node_blog","owner":"crazylxr","description":"jquery + bootstrap + node + express + mongdb 搭的一个简易博客，已经不再维护，可以用来学习node","archived":false,"fork":false,"pushed_at":"2017-12-22T04:22:07.000Z","size":11749,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T20:42:31.899Z","etag":null,"topics":["blog","bootstrap","jquery","mongodb","node-mongodb","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crazylxr.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-03T07:59:52.000Z","updated_at":"2018-10-29T02:24:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"a69856fd-5038-41b7-b3ce-6bfe15953a32","html_url":"https://github.com/crazylxr/node_blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/crazylxr/node_blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazylxr%2Fnode_blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazylxr%2Fnode_blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazylxr%2Fnode_blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazylxr%2Fnode_blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crazylxr","download_url":"https://codeload.github.com/crazylxr/node_blog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazylxr%2Fnode_blog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464115,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","bootstrap","jquery","mongodb","node-mongodb","nodejs"],"created_at":"2024-10-13T19:50:17.687Z","updated_at":"2026-04-06T08:02:21.190Z","avatar_url":"https://github.com/crazylxr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 桃园\n在下桃翁，常年生活在桃园。我说说我建这个桃园的初心，我希望我能把我这个桃园建立得更大更完善。\n\n我相信很多的同学跟我一样，都想自己写博客，跟那些大牛一样，既可以提升自己，巩固自己的知识，还可以把学到的分析给别人，最重要的时候可以装逼，提升自己的声望(说不定哪天阿里就问你是否有没有兴趣去阿里上班，不过我最想进的是腾讯，只能自己YY一下了)。\n\n然后我从大二就开始搭建自己的博客，一直到现在我换过好几次博客，我用的博客流程从jekyll  -\u003e hexo -\u003e WordPress，当时看到一个学长在搞jekyll，我也去搞了一个，然后花了很多时间在选主题，觉得主题好看可以装逼。但是后来看到很多同学在用hexo，这个时候我喜欢上了简介的风格，而且网上都说hexo比jekyll好，我就选了hexo使用最多的主题next，现在站点还在([萧然自我](https://crazylxr.github.io/))。再后来我加了一个hack week的活动，教大家怎么大家搭建站点，我就在这学习中搭建我[wordpress博客](http://crazylxr.cn/)(服务器到期，现已没有更新)。因为我不会php，觉得有些地方还是不满意，我就觉得自己搭建一个博客。\n\n在今年暑假就学了node，搭建了这个博客，但是我搭建这个博客的目的不仅仅是用来写博客，一个主要的目的是为了把我自己学到的一些东西用在上面来，可以让我学的知识有实践的地方，比如我看了一篇浏览器缓存的文章，我就可以把这个用到我的站点上来提升性能，这是我搭建这个博客的主要目的。我相信很多同学跟我一样，都有过类似的想法，但是觉得从0搭建一个博客可能有点费时间，所以我所用的技术栈比较简单，没有使用React、Vue等这些前端框架，前端就用jquery，boostrap做ssr。\n\n如果有同学有兴趣可以fork过去一起完善。\n## logo\n\n\n![桃园.png](http://upload-images.jianshu.io/upload_images/2974893-d85235c0228cd640.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)\n\n## 官方主页\n\u003e [demo主页](http://www.lxrsuper.com)\n## 简介 \n该博客系统前台由jquery和swig模板引擎所搭建，后台采用bootstrap搭建，后端用node+expres+mongodb，我写这些项目主要是用来学习node\n## 安装\n### 克隆项目\n```bash\ngit clone https://github.com/crazylxr/node_blog.git\n```\n### node和mongodb安装\n[cneteros7.0安装教程](http://crazylxr.cn/cenos%E4%B8%8B%E5%AE%89%E8%A3%85node-js%E5%92%8Cmongodb/)。如果在其他环境请异步：[安装node.js](http://www.runoob.com/nodejs/nodejs-install-setup.html)、[安装mongodb](http://www.runoob.com/mongodb/mongodb-linux-install.html)\n## 快速开始\n### 启动mongodb\n进入mongodb的bin目录\n```bash\ncd /usr/local/mongodb/bin   \n```\n启动mongodb，路径为博客安装地址的schemas路径\n```bash\n./mongod --dbpath /home/node_blog/schemas/ \n```\n### 启动博客\n进入博客的目录并启动博客\n```\nnode app.js\n```\n### 访问博客\n端口号是80直接访问域名，后台   域名/login\n账号密码都是1\n## 功能列表\n### 前台\n* 博客列表分类查看\n* 评论\n* 统计阅读数量\n* 统计评论数量\n* 标签展示以及选择该便签的文章\n### 后台\n* 登录\n* 用户管理\n* 文章管理(仅支持markdown,不支持富文本)\n* 分类管理\n* 标签管理\n## 截图\n\n![image.png](http://upload-images.jianshu.io/upload_images/2974893-4aec2238f8d66292.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)\n\n![文章详情页.png](http://upload-images.jianshu.io/upload_images/2974893-6fc8df794271d72a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)\n\n![后台.png](http://upload-images.jianshu.io/upload_images/2974893-454aa41d6a61c183.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)\n\n## todolist\n* 评论管理\n* 添加文章添加图片\n* 归档功能\n* xss和csrf的防御\n## 不足之处\n界面还很丑，功能还不完善，等待正式发布。。。。\n## FAQ\n## Change Log\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazylxr%2Fnode_blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrazylxr%2Fnode_blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazylxr%2Fnode_blog/lists"}