Merge branch 'mann-Branch'

This commit is contained in:
Mann Patel
2025-04-20 21:52:15 -06:00
43 changed files with 1358 additions and 1066 deletions

View File

@@ -3,6 +3,7 @@ const {
getAllCategoriesWithPagination,
addCategory,
removeCategory,
getAllCategory,
} = require("../controllers/category");
const router = express.Router();
@@ -10,5 +11,6 @@ const router = express.Router();
router.get("/getCategories", getAllCategoriesWithPagination);
router.post("/addCategory", addCategory);
router.delete("/:id", removeCategory);
router.get("/", getAllCategory);
module.exports = router;