Transition branch to node.js express.js app

This commit is contained in:
Pax1601
2023-01-11 08:10:58 +01:00
parent 0f689810d7
commit 91433eedc6
16 changed files with 4911 additions and 1573 deletions

9
client/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: 'Express' });
});
module.exports = router;

9
client/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;