├── views ├── footer_main.ejs ├── error.ejs ├── footer.ejs ├── index.ejs ├── about.ejs ├── user.ejs ├── paging.ejs ├── header.ejs ├── edit.ejs ├── header_main.ejs ├── login.ejs ├── comment.ejs ├── reg.ejs ├── home.ejs ├── post.ejs ├── blog.ejs └── article.ejs ├── .gitignore ├── public ├── images │ ├── new.jpg │ ├── 模板消息.png │ ├── 模板消息1.png │ └── tooopen_sy_140703593676.jpg ├── jsmin │ └── blog.js ├── javascripts │ └── blog.js └── stylesheets │ └── style.css ├── settings.js ├── README.md ├── routes ├── users.js └── index.js ├── models ├── db.js ├── comment.js ├── user.js └── post.js ├── gulpfile.js ├── package.json ├── bin └── www └── app.js /views/footer_main.ejs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | npm-debug.log 4 | -------------------------------------------------------------------------------- /public/images/new.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pspgbhu/Node.js-Blog/HEAD/public/images/new.jpg -------------------------------------------------------------------------------- /public/images/模板消息.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pspgbhu/Node.js-Blog/HEAD/public/images/模板消息.png -------------------------------------------------------------------------------- /public/images/模板消息1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pspgbhu/Node.js-Blog/HEAD/public/images/模板消息1.png -------------------------------------------------------------------------------- /views/error.ejs: -------------------------------------------------------------------------------- 1 |
<%= error.stack %>4 | -------------------------------------------------------------------------------- /settings.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | cookieSecret: 'myblog', 3 | db: 'blog', 4 | host: 'localhost', 5 | port: 27017 6 | }; -------------------------------------------------------------------------------- /public/images/tooopen_sy_140703593676.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pspgbhu/Node.js-Blog/HEAD/public/images/tooopen_sy_140703593676.jpg -------------------------------------------------------------------------------- /views/footer.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 |