Initial commit: Club DynaSQY

This commit is contained in:
2026-08-23 09:04:47 +00:00
commit 0875890dc7
145 changed files with 16947 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
const { Router } = require('express');
const { listByMember, create, remove, stats } = require('../controllers/absenceController');
const { authenticate, adminOnly } = require('../middleware/auth');
const router = Router();
router.get('/stats', authenticate, adminOnly, stats);
router.get('/member/:id', authenticate, adminOnly, listByMember);
router.post('/', authenticate, adminOnly, create);
router.delete('/:id', authenticate, adminOnly, remove);
module.exports = router;