├── .gitignore ├── Procfile ├── README.md ├── app.js ├── config.js ├── crawler.js ├── lib └── douban.js ├── model.js ├── package.json └── views ├── author.handlebars ├── home.handlebars ├── layouts └── main.handlebars ├── partials └── _post.handlebars └── posts.handlebars /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: NODE_ENV=production node app.js 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 目前程序部署在:https://haixiu.herokuapp.com/ 2 | 3 | 如果要本地搭建,就去看看 `config.js` 里面的配置。 4 | -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rockdai/haixiu/HEAD/app.js -------------------------------------------------------------------------------- /config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rockdai/haixiu/HEAD/config.js -------------------------------------------------------------------------------- /crawler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rockdai/haixiu/HEAD/crawler.js -------------------------------------------------------------------------------- /lib/douban.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rockdai/haixiu/HEAD/lib/douban.js -------------------------------------------------------------------------------- /model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rockdai/haixiu/HEAD/model.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rockdai/haixiu/HEAD/package.json -------------------------------------------------------------------------------- /views/author.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rockdai/haixiu/HEAD/views/author.handlebars -------------------------------------------------------------------------------- /views/home.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rockdai/haixiu/HEAD/views/home.handlebars -------------------------------------------------------------------------------- /views/layouts/main.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rockdai/haixiu/HEAD/views/layouts/main.handlebars -------------------------------------------------------------------------------- /views/partials/_post.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rockdai/haixiu/HEAD/views/partials/_post.handlebars -------------------------------------------------------------------------------- /views/posts.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rockdai/haixiu/HEAD/views/posts.handlebars --------------------------------------------------------------------------------