Implement initial API structure with Docker support, CI/CD workflows, and authentication features
Despliegue Automático / desplegar (push) Failing after 1m29s

This commit is contained in:
2026-05-18 18:43:33 +02:00
commit 9d117a5887
23 changed files with 1091 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
const express = require('express');
const router = express.Router();
const authRoutes = require('./authRoutes'); // Añadimos esto
const syncRoutes = require('./syncRoutes');
router.get('/status', (req, res) => {
res.json({ message: '¡API funcionando correctamente!' });
});
// Todas las rutas de auth estarán bajo /api/auth/...
router.use('/auth', authRoutes);
// Endpoint único de sincronización offline-first
router.use('/', syncRoutes);
module.exports = router;