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
+11
View File
@@ -0,0 +1,11 @@
const { Router } = require('express');
const { list, create, update, remove } = require('../controllers/honorController');
const { authenticate, adminOnly } = require('../middleware/auth');
const router = Router();
router.get('/', authenticate, list);
router.post('/', authenticate, adminOnly, create);
router.put('/:id', authenticate, adminOnly, update);
router.delete('/:id', authenticate, adminOnly, remove);
module.exports = router;