node-framework
Version:
node-framework
29 lines (23 loc) • 450 B
JavaScript
/**
* @file index.js ~ 2014-08-11 14:56
* @author sekiyika (px.pengxing@gmail.com)
* @description
*
*/
var app = require('../')();
/*
app.component('test', function (app) {
return function () {
app.logger.info("I am the test component");
};
});
*/
/*
app.middleware('test', function (app) {
return function (req, resp, next) {
app.logger.info('I am the test middleware');
next();
}
});
*/
app.run();