Visits and requires every file ending with "Controller.js" and call its "init" function passing express "app" variable along
Want to see pretty graphs? Log in now!
npm install route-registrar
|18||downloads in the last week|
|104||downloads in the last month|
|Last Published By|
|Version||0.0.16 last updated 3 months 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