【文件属性】:
文件名称:blog:基于nodejs和mongodb开发的个人博客
文件大小:224KB
文件格式:ZIP
更新时间:2021-06-06 12:47:30
JavaScript
个人博客源码
一、采用的技术
mongodb
express
markdown
http basic authentication
gulp
bower
二、安装
npm install
bower install
gulp
mv config.sample.json config.json 并且修改为你的配置
node lib/createdb.js 创建seed数据
node app.js 运行
采用http basic authentication,访问/admin 输入你配置的用户名和密码管理和发布文章
【文件预览】:
blog-master
----views()
--------post()
--------category()
--------error.html(80B)
--------base.html(2KB)
----config.sample.json(216B)
----bower.json(427B)
----lib()
--------models.js(3KB)
--------auth.js(690B)
--------globalvariables.js(687B)
--------createdb.js(499B)
--------nunjucksfilters.js(1KB)
----less()
--------site.less(3KB)
--------variables.less(24B)
----js()
--------site.js(23B)
--------highlight.min.js(34KB)
--------marked.js(27KB)
--------navigatorcheck.js(248B)
----app.js(2KB)
----gulpfile.js(1KB)
----.gitignore(56B)
----readme.md(409B)
----routes()
--------category.js(2KB)
--------post.js(3KB)
--------index.js(716B)
----package.json(533B)
----static()
--------favicon.ico(4KB)
--------img()
--------js()
--------fonts()
--------css()