"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const product_1 = require("../controllers/product");
const express_1 = require("express");
const router = (0, express_1.Router)();
router.post("/", product_1.createProduct);
router.get("/", product_1.getAllProducts);
router.put("/:id", product_1.updateProduct);
router.delete("/:id", product_1.deleteProduct);
exports.default = router;
