mannank / superflix Goto Github PK
View Code? Open in Web Editor NEWSuperflix: a clone of the popular streaming service, Netflix, but meant for superhero and comic book movie/show lovers.
Home Page: https://superflix-aa.herokuapp.com/
Superflix: a clone of the popular streaming service, Netflix, but meant for superhero and comic book movie/show lovers.
Home Page: https://superflix-aa.herokuapp.com/
Hey Mannan, great work on user auth, it works and looks very similarly to Netflix! (I also love that you got your dropdown working so smoothly.) A few comments below - let me know if you have questions!
errors
span, apply a border-bottom to the inputs themselves.<%= favicon_link_tag asset_path('filename.ext') %>.
Do you have any instructions or documentation on how to try this?
DESIGN DOCS FEEDBACK - Backend Routes:
GET /api/users/:user_id/media
(or, later under profile_id: GET /api/profiles/:profile_id/media
).POST
and DELETE
routes will work using the current_user
helper method defined by your application controller. However, once you implement profiles, it won’t be enough to rely on the user_id. You will need to associate the video with a particular profile via the profile_id. Consider whether you want to include both foreign keys via two wildcards in the route, or form data.GET /api/genres
to fetch all genres (which will be handy for the landing page and / or search feature)DESIGN DOCS FEEDBACK - Frontend Routes:
Hey Mannan, excellent work on your MVP list, Database schema, and Sample state shape! You left me very little to suggest in the way of changes. My feedback is below; stay tuned for comments on the Frontend and Backend routes.
DESIGN DOCS FEEDBACK - MVP list:
DESIGN DOCS FEEDBACK - Database Schema:
Users:
type
column to something more descriptive, like media_type
. “Type” is a keyword in SQL (albeit a non-reserved one), and it’s best to avoid any confusion with that keyword. (I’ve heard of students encountering trouble with type
as a column name in the past.)Lists / Lists_media:
lists
table and using the lists_media
table to represent the concept of a user’s watchlist. As long as you have a user_id
and media_id
, you have all the info you need to get the videos on a user’s watchlist. Later, you can refactor the user_id
to reference a specific profile, i.e., change the column to profile_id
table
lists_media
table, change the list_id
foreign key to user_id
DESIGN DOCS FEEDBACK - Sample State Shape:
Genres:
mediaIds
(pointing to an array) for each genre. This would provide easy access to all associated videos for a given genre (when displaying videos by genre, separated by row, as you describe in your MVPs list.)Users:
users
slice of statelistId
; replace it with mediaIds
(representing all media in a user’s watchlist)profileIds
(for your bonus)Current profile
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.