Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.
/ Netflix_clone Public archive

Netflix Clone responsive in React , see movies details and interactiv preview trailer

License

Notifications You must be signed in to change notification settings

ismailazdad/Netflix_clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netflix Clone movies trailer

image

Demo: (including mobile)

Demo

This project is a front end clone of Netflix with interactive mouse event with two declination.

It was created with React.js

It uses The MovieDB Api to get movies list with all details and preview trailer when mouse hover, and movie details in full page.

Movie data was pulled from TMDB and trailer videos from Youtube.

To achieve this i made lazy loading techniques to efficiently render and update UI with hooks and useEffect technical.

Running Project Locally

Clone Project :

git clone https://github.com/ismailazdad/Netflix_clone.git

Go to project directory :

cd Netflix_clone/

Install dependencies:

npm install in the root project

Get API key from here

Change .env file in root project and replace YOUR_API_KEY_HERE by your personnal themoviedb key

Run project:

npm run start

Open http://localhost:3000 to view it in your browser.

Tools used

  • All modern browsers (including mobile) with css media query
  • Route maping for rendering mutliples pages with react router with parameters(dynamic route generation)
  • Bootstrap modal
  • GlobalStyle, and style.jsx and styled component
  • Hooks with UseState and UseEffect to synchronize api call and transition style effect synchronization and propTypes
  • TMDB Api
  • Handle environment variable with .env

Preview