api-router
Beefup your routes in minutes.
Getting Started
Install the module with: npm install api-router
var api-router = ;
Usage
var express = ;var api-router = ; app = ; ; server = app; ;
Featrures
Mongoose model bind
Bind a Mongoose model directly.
var BlogPostModel = mongoose;var ops = { return true; } { return true; } url: 'api' model:BlogPostModel // or just pass the model name 'BlogPost' ;;
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
License
Copyright (c) 2014 Prashan Fernando
Licensed under the MIT license.