Visits and requires every file ending with "Controller.js" and call its "init" function passing express "app" variable along
npm install route-registrar
|1||downloads in the last day|
|9||downloads in the last week|
|35||downloads in the last month|
|Version||0.0.16 last updated a month ago|
|Keywords||controller, MVC, express, route, routes|
|Dependencies||methods, underscore, gammautils|
npm install --save route-registrar
This module helps you in structuring your Node.js app using express. You wont need to write one file apps anymore.
app.js file in the example folder.
If you need a more detailed explanation, take a look at this blog post: Structuring a node.js web application with Express