feat: Implement create folder API endpoint

This commit is contained in:
Faruk AYDIN
2025-01-27 13:46:25 +01:00
parent ade6e96b1b
commit 0ca12d5a7c
12 changed files with 153 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import { Router } from 'express';
import { authenticateUser } from '../../../helpers/authentication.js';
import { authorizeUser } from '../../../helpers/authorization.js';
import createFolderAction from '../../../controllers/api/v1/folders/create-folder.js';
const router = Router();
router.post('/', authenticateUser, authorizeUser, createFolderAction);
export default router;