aboutsummaryrefslogtreecommitdiff
path: root/routes/hello.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-09-07 11:37:07 +0200
committerNoah Loomans <noahloomans@gmail.com>2016-09-07 11:37:07 +0200
commit93af695f08ba0cd76210a6f965c2424b1c0745f0 (patch)
treeccb7f5dba21b4bdd6cad688f302d3389913ddd10 /routes/hello.js
parent57e142dc6f5dfc6c6394d04ff4e807bb8288a417 (diff)
add made by field
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