forked from admin/zeropost-engine
feat: user_posts service — draft/scheduled/published, Telegram publish with image, cron-driven scheduled publication
This commit is contained in:
@@ -12,6 +12,7 @@ const notesRoutes = require('./src/routes/notes');
|
||||
const seriesRoutes = require('./src/routes/series');
|
||||
const categoriesRoutes = require('./src/routes/categories');
|
||||
const autogenRoutes = require('./src/routes/autogen');
|
||||
const userPostsRoutes = require('./src/routes/userPosts');
|
||||
|
||||
// Start queue worker
|
||||
require('./src/workers/generation');
|
||||
@@ -46,6 +47,7 @@ app.use('/api/notes', notesRoutes);
|
||||
app.use('/api/series', seriesRoutes);
|
||||
app.use('/api/categories', categoriesRoutes);
|
||||
app.use('/api/autogen', autogenRoutes);
|
||||
app.use('/api/user-posts', userPostsRoutes);
|
||||
|
||||
app.get('/health', (req, res) => {
|
||||
res.json({ ok: true, service: 'zeropost-engine', time: new Date() });
|
||||
|
||||
Reference in New Issue
Block a user