import { Router } from 'express';

const router = Router();

/**
 * GET /api/health
 * Health check básico
 */
router.get('/', (_req, res) => {
  res.json({
    status: 'ok',
    timestamp: new Date().toISOString(),
    service: 'codigo0-backend',
    version: '0.1.0'
  });
});

export default router;