initial commit, database config working, pug template basic config, generated site working

This commit is contained in:
2020-01-04 15:44:11 -05:00
parent b4121ea146
commit 191e7e825a
16 changed files with 9209 additions and 0 deletions

9
routes/index.js Normal file
View File

@ -0,0 +1,9 @@
var express = require('express');
var router = express.Router();
/* GET home page. */
router.get('/', function(req, res, next) {
res.render('index', { title: 'UNESCO Tracker - Sean Clarke' });
});
module.exports = router;

9
routes/users.js Normal file
View File

@ -0,0 +1,9 @@
var express = require('express');
var router = express.Router();
/* GET users listing. */
router.get('/', function(req, res, next) {
res.send('respond with a resource');
});
module.exports = router;