Add export routes to backend and frontend; implement routing and UI components for data export management

This commit is contained in:
Torsten Schulz (local)
2025-10-18 00:00:34 +02:00
parent ac3720fb61
commit 6a519fc4d4
7 changed files with 796 additions and 0 deletions

View File

@@ -114,6 +114,10 @@ app.use('/api/invite', authenticateToken, inviteRouter);
const watcherRouter = require('./routes/watcher');
app.use('/api/watcher', authenticateToken, watcherRouter);
// Export routes (geschützt) - MIT ID-Hashing
const exportRouter = require('./routes/export');
app.use('/api/export', authenticateToken, exportRouter);
// Error handling middleware
app.use((err, req, res, next) => {
console.error(err.stack);