aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--router.js19
-rw-r--r--views/signup.ejs8
2 files changed, 27 insertions, 0 deletions
diff --git a/router.js b/router.js
index 6279d62..50b5419 100644
--- a/router.js
+++ b/router.js
@@ -41,6 +41,25 @@ module.exports = function(app) {
/*
+ * GET signup page
+ *
+ * '/signup'
+ */
+
+ app.get('/signup', function(req, res) {
+ res.render('signup', { title: 'Registrer deg' });
+ });
+
+
+
+
+
+
+
+
+
+
+ /*
* 404 ERROR
*/
diff --git a/views/signup.ejs b/views/signup.ejs
new file mode 100644
index 0000000..05837c2
--- /dev/null
+++ b/views/signup.ejs
@@ -0,0 +1,8 @@
+<% include header %>
+</head>
+<body>
+
+
+
+
+<% include footer %>