chai-backend icon indicating copy to clipboard operation
chai-backend copied to clipboard

add video controllers like getAllVideos, publishAVideo, getVideoById, updateVideo, deleteVideo and togglePublishStatus

Open LepharamRamchiary opened this issue 5 months ago • 0 comments

Video controllers added

  • Retrieve Videos: Paginated and filtered video retrieval with sorting options.
  • Publish Video: Upload video files and thumbnails to Cloudinary and save metadata to MongoDB.
  • Update Video: Modify video details, including title, description, and thumbnail.
  • Delete Video: Remove videos from the database and associated media from Cloudinary.
  • Toggle Publish Status: Control the visibility of videos by toggling their publish status.

LepharamRamchiary avatar Sep 07 '24 06:09 LepharamRamchiary