Sparkube is a YouTube clone where users can freely watch and share vidoes.
Data storage
Backend Development
Frontend Development
Logged in users can create, upload, edit, and delete their videos
Likes and Dislikes are only available for logged in users
Comments are enabled
A sample of code for querying a video using ActiveRecord
def show
@video = Video.includes(
:user,
:liked_users,
:disliked_users,
:comments => [:user]
).find(params[:id])
end