Coder Social home page Coder Social logo

ismailazdad / netflix_clone Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10.59 MB

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

Home Page: https://moviestrailer.surge.sh

License: GNU Lesser General Public License v3.0

HTML 2.18% CSS 2.29% JavaScript 95.53%
css-animations react react-hooks react-router tmdb-api movietrailer styled-components npm reactjs movie react-bootstrap react-youtube responsive responsive-web-design youtube-api

netflix_clone's Introduction

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

netflix_clone's People

Contributors

dependabot[bot] avatar ismailazdad avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.