Admin Dashboard Backend (Phases 1-4) #5

Merged
stephen merged 9 commits from admin into main 2026-01-22 14:11:43 -07:00
16 changed files with 11203 additions and 31 deletions
Showing only changes of commit 16deaacf48 - Show all commits

View File

@ -147,8 +147,8 @@ app.use('/auth', authRoutes);
// Mount activity routes // Mount activity routes
app.use('/activity', activityRoutes); app.use('/activity', activityRoutes);
// Mount admin routes // Mount admin routes (Traefik strips /api prefix, so /api/admin becomes /admin)
app.use('/api/admin', adminRoutes); app.use('/admin', adminRoutes);
// Health check endpoint // Health check endpoint
app.get('/health', (req, res) => { app.get('/health', (req, res) => {