Skip to content

Instantly share code, notes, and snippets.

@DulalSandip
Created April 13, 2021 08:42
Show Gist options
  • Select an option

  • Save DulalSandip/54dac03d07f97fbce6d8e181eebbde78 to your computer and use it in GitHub Desktop.

Select an option

Save DulalSandip/54dac03d07f97fbce6d8e181eebbde78 to your computer and use it in GitHub Desktop.
Coupon Code Routes Handling
const express = require("express");
const router = express.Router();
const {
addCouponCodeDiscount,
} = require("../controllers/CouponCode");
router.post(
"/product/couponCode-discount",
addCouponCodeDiscount
);
module.exports = router;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment