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

This commit is contained in:
Torsten Schulz (local)
2025-10-17 23:50:25 +02:00
parent c7a0316ca0
commit ac3720fb61
12 changed files with 750 additions and 10 deletions

View File

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