const router = require('express').Router();
const { authMiddleware, requireRole } = require('../middleware/auth');
const { teacherOverview } = require('../controllers/analyticsController');

router.get('/teacher', authMiddleware, requireRole('teacher', 'admin'), teacherOverview);

module.exports = router;
