Clone this repo:


  1. f6f0279 Merge branch 'master' of by RockyNiu · 9 years ago master
  2. 2084fe4 merge by RockyNiu · 9 years ago
  3. 373628e update bin/www by Lei Niu · 9 years ago
  4. d69e149 Update by Lei Niu · 9 years ago
  5. cbf2bf4 Update by Lei Niu · 9 years ago

Learning Node.js

  • (in Chinese and English)
  • This is a self practice for learning MEAN (Mongodb(v1.4.4) Express(v4.2) AngularJS Node.js(v0.10.25)), also Bootstrap.
  • by tools: KeepNote and Eclipse


To Do

  • Auto Recovery: 故障恢复
  • Logger: 日志(done basic)
  • Multi-threads: 多进程
  • Shared Port: 共享端口
  • Authentication: 注册信息进行完整的验证,如用户名的规则,密码的长短等。
  • Captcha:为了防止恶意注册还应该带有验证码和邮件认证的功能,甚至还应该支持OAuth。
  • Length of connet: 我们对发帖没有进行任何限制,尽管注入 HTML 是不可能的,但至少还应该对长度有限制。
  • Pagination: 首页和用户页面的显示都是没有数量限制的,当微博很多以后这个页面可能会很长,应该实现分页的功能。
  • Social tools: 最重要的用户关注、转帖、评论、圈点用户这些功能都没有实现。
  • Cache: 每次查询数据库都没有限制取得的数量,还应该对一些访问频繁的页面增加缓存机制。
  • Depoly: 部署


License and Author

  • Author::RockyNiu

    Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

    Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.