const express = require('express');
const { authenticate, authorize } = require('../middleware/auth');
const DashboardController = require('../controllers/DashboardController');

const router = express.Router();

router.get('/stats', authenticate, authorize('admin', 'manager'), DashboardController.getStats);

module.exports = router;
