This commit is contained in:
2025-09-09 00:10:53 +03:00
parent 38f2a05107
commit 204fc092d7
239 changed files with 22447 additions and 9536 deletions

View File

@@ -0,0 +1,29 @@
const express = require('express');
const router = express.Router();
const StandController = require('../controllers/stand.controller');
const authenticate = require("../middleware/auth");
router
.route('/list')
.get(authenticate, StandController.getList)
.post(authenticate, StandController.createStand);
router
.route('/:stand_id')
.get(authenticate, StandController.getStand)
.put(authenticate, StandController.updateStand)
.delete(authenticate, StandController.deleteStand);
router
.route('/schedule/list')
.get(authenticate, StandController.getScheduleList)
router
.route('/schedule/:stand_id')
.post(authenticate, StandController.createSchedule)
router
.route('/schedule/history/:stand_schedule_id')
.post(authenticate, StandController.getScheduleHistory)
module.exports = router;