feat: add Model and Controller class, improve structure

This commit is contained in:
Jo 2024-01-10 17:23:14 +01:00
parent b7de4d9614
commit a86bddf352
10 changed files with 107 additions and 70 deletions

8
routes/indexRoutes.js Normal file
View file

@ -0,0 +1,8 @@
const express = require("express");
const router = express.Router();
router.get("/", (req, res) => {
res.render("layout");
});
module.exports = router;