feat: user_posts service — draft/scheduled/published, Telegram publish with image, cron-driven scheduled publication

This commit is contained in:
Alexey Pavlov
2026-05-31 17:36:01 +03:00
parent 2137a92b28
commit d054023a55
3 changed files with 236 additions and 0 deletions
+2
View File
@@ -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() });