const { Router } = require('express');
const authRoutes = require('./auth.routes');
const invimaRoutes = require('./invima.routes');

const router = Router();

router.get('/health', (_req, res) => {
  res.json({ ok: true, service: 'invima-api' });
});

router.use('/auth', authRoutes);
router.use('/invima', invimaRoutes);

module.exports = router;
