admin/routes/auction.js

/* ============================================================================ *\
|| ########################################################################## ||
|| # Auction Software Marketplace          Release: 0.6   Build 0.7         # ||
|| # ---------------------------------------------------------------------- # ||
|| # License # 35YAHCNR9344X6O666C123AB                                     # ||
|| # ---------------------------------------------------------------------- # ||
|| # Copyright ©2014–2021 Develop Scripts LLC. All Rights Reserved          # ||
|| # This file may not be redistributed in whole or significant part.       # ||
|| # ------------- AUCTION SOFTWARE IS NOT FREE SOFTWARE ------------------ # ||
|| # http://www.auctionsoftwaremarketplace.com|support@auctionsoftware.com  # ||
|| # ---------------------------------------------------------------------- # ||
|| ########################################################################## ||
\* ============================================================================ */

const express = require('express')
const auctCtrl = require('../controllers/auction')
const MulterModule = require('../modules/multer')

const multer = new MulterModule()

const app = express.Router()
/**
 * Route for Auction.
 *
 * @namespace adminside.auction
 * @memberOf adminside
 */
app.post('/lots', auctCtrl.auctionlots)
app.post('/auctionAction', auctCtrl.auctionAction)
app.post('/getSingleAuction', auctCtrl.getSingleAuction)
app.post('/addtoAuction', auctCtrl.addtoAuction)
app.post('/getAllProjectsAssociated', auctCtrl.getAllProjectsAssociated)
app.post('/changeStatus', auctCtrl.changeStatus)

module.exports = app