const express = require('express');
const router = express.Router();
const { protect } = require('../middleware/authMiddleware');
const { getMyStats, getSkillProfile } = require('../controllers/xpController');

// User XP Stats
router.get('/me', protect, getMyStats);

// Skill Radar Chart Data
router.get('/skills', protect, getSkillProfile);

module.exports = router;
