Initial commit of example app

This commit is contained in:
Jeremiah Billmann
2013-05-05 23:06:04 -04:00
parent acc91e24f3
commit 9b0dfd8051
6 changed files with 71 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
/*
* GET home page.
*/
exports.index = function(req, res){
res.render('index', { title: 'Express' });
};
+8
View File
@@ -0,0 +1,8 @@
/*
* GET users listing.
*/
exports.list = function(req, res){
res.send("respond with a resource");
};