route-registrar

v0.0.18
Visits and requires every file ending with "Controller.js" and call its "init" function passing express "app" variable along
controller MVC express route routes

route-registrar

Installation

npm install --save route-registrar

Description
This module helps you in structuring your Node.js app using express. You wont need to write one file apps anymore.

See the app.js file in the example folder.

Read More
If you need a more detailed explanation, take a look at this blog post: Structuring a node.js web application with Express

Metadata

  • BSD
  • Whatever
  • Renato Gama
  • released 4/30/2014

Downloads

Maintainers