front/routes/common.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 commonCtrl = require('../controllers/common')

const app = express.Router()

/**
 * Routes for Common.
 *
 * @namespace frontend.common
 * @memberOf frontend
 */
app.post('/getDefault', commonCtrl.commonValues)
app.post('/getStaticPage', commonCtrl.getStaticPage)
app.post('/getPreviousData', commonCtrl.getPreviousData)
app.post('/insertEntry', commonCtrl.insertEntry)
app.post('/updateEntry', commonCtrl.updateEntry)
app.post('/getcategorylist', commonCtrl.categorygetlist)

module.exports = app