UNPKG

master

Version:

Master is a node web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern

18 lines (15 loc) 553 B
var master = require('mastercontroller'); module.exports = function(params) { /* |-------------------------------------------------------------------------- | Load The Master Application |-------------------------------------------------------------------------- | | Load The Master Application With Request, Response And The Directory Location. | This File Will Only Get Called One Time When Application Gets Loaded. | **** Cors must be loaded before router ***** | */ master.cors.load(params); master.router.load(params); }