const express = require('express');
const router = express.Router();
const StatsController = require('../controllers/StatsController');

// All stats routes are admin-only
router.get('/system', StatsController.getSystemStats);
router.get('/mailboxes', StatsController.getMailboxStats);
router.get('/domains', StatsController.getDomainStats);

module.exports = router; 