feat: add Model and Controller class, improve structure
This commit is contained in:
parent
b7de4d9614
commit
a86bddf352
10 changed files with 107 additions and 70 deletions
8
routes/indexRoutes.js
Normal file
8
routes/indexRoutes.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
const express = require("express");
|
||||
const router = express.Router();
|
||||
|
||||
router.get("/", (req, res) => {
|
||||
res.render("layout");
|
||||
});
|
||||
|
||||
module.exports = router;
|
Loading…
Add table
Add a link
Reference in a new issue