编写 Node.js 中的 Restful web 服务:RestMVC

jopen 11年前

RestMVC 目标是提供一个简单,轻量级的框架,帮助开发人员使用 Node.js ,Express, Mongoose 和 MongoDB 编写 Restful web 服务。

功能特性

到目前为止拥有的特性:

  • Tool to build project skelleton for you
  • Tool to build empty models for you
  • Auto-generate controllers
  • Auto-generate routes
  • Handle 'BadRequest', 'NotFound' and '500' errors in a nice clean way.
  • Inflection Library to translate 'person' into 'people'
  • Accept header based response rendering
  • List will now take '?from=1&to=10' for paging

计划的特性:

  • Security.
  • More complex List actions on the controller.
  • Filters
  • More error types.

项目主页:http://www.open-open.com/lib/view/home/1389018695203