add admin interface with article and event management features
This commit is contained in:
@@ -4,6 +4,7 @@ const articleRoutes = require('./src/routes/articles');
|
||||
const statusRoutes = require('./src/routes/status');
|
||||
const sourcesRoutes = require('./src/routes/sources');
|
||||
const eventRoutes = require('./src/routes/events');
|
||||
const adminRoutes = require('./src/routes/admin');
|
||||
const config = require('./src/config');
|
||||
const { startScheduler } = require('./src/scheduler');
|
||||
|
||||
@@ -14,6 +15,7 @@ app.register(articleRoutes);
|
||||
app.register(statusRoutes);
|
||||
app.register(sourcesRoutes);
|
||||
app.register(eventRoutes);
|
||||
app.register(adminRoutes);
|
||||
|
||||
app.get('/', async () => ({ ok: true }));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user