https://github.com/upendradevsingh/node-mvc-controller
plugin to scan and initiate all the routes/controller/handlers in node application
https://github.com/upendradevsingh/node-mvc-controller
Last synced: 2 months ago
JSON representation
plugin to scan and initiate all the routes/controller/handlers in node application
- Host: GitHub
- URL: https://github.com/upendradevsingh/node-mvc-controller
- Owner: upendradevsingh
- License: mit
- Created: 2013-10-31T11:21:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-31T15:09:02.000Z (over 11 years ago)
- Last Synced: 2025-01-19T01:34:15.803Z (4 months ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
node-mvc-controller
===================plugin to scan and initiate all the routes/controller/handlers in node application
Usage
var scan = require('node-mvc-controller');
scan(__dirname + '/routes', app);
note: 2nd parameter is relative path of route directory.