import express from 'express';
import { WeightController } from '../controllers/weight.controller';
import { authenticateToken } from '../middleware/auth';

const router = express.Router();

router.use(authenticateToken);

router.get('/', WeightController.getWeightHistory);
router.post('/', WeightController.logWeight);

export default router;
