Building a Video Sharing App with Server Messaging in Ruby
Blog post from PubNub
The tutorial provides a comprehensive guide to building a basic video-sharing application prototype using Ruby on Rails, incorporating features such as user authentication with Devise, video uploading and encoding using ffmpeg, video playback with Video.js, and real-time notifications using PubNub. It outlines the setup requirements, including the installation of necessary gems like HAML, Paperclip, and Sidekiq, and demonstrates the creation of models, controllers, and views to manage users and videos. The tutorial also explains the use of Sidekiq workers for background processing, Sidetiq for scheduling tasks, and the integration of PubNub for notifying users about video encoding progress and updates to like counts. It emphasizes a practical approach, allowing users to sign up, upload videos, and receive notifications, while suggesting further enhancements like adding a comment section or converting the application into a single-page application (SPA) using an API and PubNub for communication.