This is the backend API for the Creator Video Intelligence platform.
POST /api/auth/register - Register a new userPOST /api/auth/login - Login and get JWT tokenGET /api/videos - Get all monitored videosPOST /api/videos - Add a new video to monitorGET /api/videos/:id - Get video detailsPOST /api/videos/:id/extend - Extend monitoring for 14 daysPOST /api/videos/:id/pause - Pause monitoringGET /api/videos/:id/stats - Get video analyticsGET /api/creators - Get top creatorsGET /api/creators/:username - Get creator detailsGET /api/campaigns - Get user campaignsPOST /api/campaigns - Create a new campaignPOST /api/campaigns/:id/videos - Add video to campaignThis backend is built with Fastify, Drizzle ORM, and PostgreSQL. It uses BullMQ and Redis for queueing crawler jobs.