upload files

This commit is contained in:
sbinsalman
2025-11-25 11:11:42 -07:00
commit 36f9a5e69b
41 changed files with 1971 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import { Router } from "express";
import {
createComment,
updateComment,
deleteComment,
} from "../controllers/comments.controller.js";
const router = Router();
// POST /api/comments
router.post("/", createComment);
// PUT /api/comments/:id
router.put("/:id", updateComment);
// DELETE /api/comments/:id
router.delete("/:id", deleteComment);
export default router;