conversion from php to nodejs started

This commit is contained in:
Marc Wäckerlin
2016-01-14 15:34:50 +00:00
parent cc806e11f9
commit f6561405df
1236 changed files with 189580 additions and 0 deletions

13
nodejs/routes/index.js Normal file
View File

@@ -0,0 +1,13 @@
/*
* GET home page.
*/
var package = require(__dirname+"/../package.json");
exports.index = function(req, res) {
res.render('index', {
packagename: package.name,
packageversion: package.version
});
};