aboutsummaryrefslogtreecommitdiff
path: root/routes/hello.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes/hello.js')
-rw-r--r--routes/hello.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/routes/hello.js b/routes/hello.js
new file mode 100644
index 0000000..6356b98
--- /dev/null
+++ b/routes/hello.js
@@ -0,0 +1,9 @@
+var express = require('express')
+var router = express.Router()
+
+/* GET home page. */
+router.get('/', function (req, res, next) {
+ res.render('hello')
+})
+
+module.exports = router