Netplex
A picture-perfect single-page application clone of Netflix.
Start viewing here!
Overview
Netplex is a clone of Netflix, a video streaming platform, where signed up users can create profiles, watch videos, and add videos to personalized lists.
Technologies Used
- Backend: Rails
- Frontend: React-Redux
- Languages: Ruby, Javascript, CSS, HTML
- Storage: AWS S3
- Hosting: Heroku
Features
User Authentication
Users can sign up, login, and logout, secured by a user authentication policy.
Manage Profiles
Users can create and manage up to 5 profiles.
Watch Videos
Users can preview and watch videos sorted by genre.
My List
Users can create a list of videos specific to each profile.
Featured Code Snippet
Fetching videos from "My List" for specified profile:
def show
profile = Profile.find_by(id: current_profile.id)
@lists = profile.lists.where(profile_id: current_profile.id).ids
@lists.map! { |id| Video.find_by(id: List.find_by(id: id).video_id)}
if @lists
render :show
else
render json: ["No list found"]
end
end