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 { login, me, changePassword } = require('../controllers/authController');
const { authenticate } = require('../middleware/auth');
const router = Router();
router.post('/login', login);
router.get('/me', authenticate, me);
router.put('/password', authenticate, changePassword);
module.exports = router;