Total Pageviews

Tuesday 16 July 2019

基于Node.js和MongoDB的博客程序-zen


Zen is a blog app using Node.js & MongoDB.

Usage

  1. Install Node.js & MongoDB on your server. Note: Install Node.js via visionmedia/n is recommended, as some distro have old Nodejs versions.
  2. git clone https://github.com/phoenixlzx/zen.git && cd zen && npm install
  3. Edit config.js.example and rename to config.js
  4. node app.js
  5. Done!
ATTENTION : You MUST leave allowReg to true before you register at least 1 user. You could set it to false after you have successfully registered and then reload the app. Usable translation: see i18n directory.

TODO

  • Better theme support (and more themes!) [IN-PROGRESS]
  • Validate user inputs using node-validator [DONE]
  • Password recovery
  • Edit user information [DONE]
  • Split tags by ',' [DONE]
  • i18n [DONE] - More translations needed! See instructions below.
  • Email support
  • Store site-relative configurations in database / JSON file, in order to have a site settings page.
  • Hash password using time criteria at client side to some how avoid Man-In-Middle attacks
  • Draft support
  • Edit/delete support [DONE]

No comments:

Post a Comment