Integrate hugo static generator

This commit is contained in:
2025-09-17 22:18:39 +02:00
parent eef2646054
commit 89dafbf421
63 changed files with 888 additions and 183 deletions

14
backend/routes/user.ts Normal file
View File

@@ -0,0 +1,14 @@
import express from "express";
import userController from 'controllers/userController';
import checkAuthenticated from 'backend/miscellaneous/checkAuthenticated';
const router = express.Router();
/* GET home page. */
router.get('/', userController.render);
router.post('/', userController.create);
router.put('/', checkAuthenticated, userController.get);
export default router;