exprt
v0.1.2
Published
Express routes generator
Downloads
3
Readme
exprt
A extremely simple Express routes generator, which is non-intrusive, and COC-based.
Getting Started
Install the module with: npm install exprt
var express = require('express')
, exprt = require('exprt')
, path = require('path');
var app = express();
// scan and register express routes
exprt(app, {
path: path.join(__dirname, 'routes')
});
Write standard express route handlers, put them in routes/index.js
exports.index = function(req, res) {
res.send('it works!');
};
Documentation
(Coming soon)
Examples
(Coming soon)
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.
Release History
(Nothing yet)
License
Copyright (c) 2013 xinthink
Licensed under the MIT license.