All Projects β†’ AhmedTohamy01 β†’ React-Netflix-Clone

AhmedTohamy01 / React-Netflix-Clone

Licence: other
A Fully Responsive clone of Netflix website built using React.JS as a Front-end & Firebase as a Back-end.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to React-Netflix-Clone

awesome-web-react
πŸš€ Awesome Web Based React πŸš€ Develop online with React!
Stars: ✭ 31 (-65.93%)
Mutual labels:  react-router, react-components, react-hooks
react-guidebook
πŸ“š React ηŸ₯θ―†ε›Ύθ°± ε…³δΊŽζ¦‚εΏ΅γ€ζŠ€ε·§γ€η”Ÿζ€γ€ε‰ζ²Ώγ€ζΊη ζ ΈεΏƒ
Stars: ✭ 22 (-75.82%)
Mutual labels:  react-router, react-components, react-hooks
book-fullstack-react
Fullstack React: The Complete Guide to ReactJS and Friends by Anthony Accomazzo
Stars: ✭ 100 (+9.89%)
Mutual labels:  react-router, react-components, react-hooks
whatsapp-clone-react
Build a WhatsApp Clone with React JS and FireBase.
Stars: ✭ 38 (-58.24%)
Mutual labels:  react-router, firestore, react-hooks
react-theme
Production ready Wordpress theme built with React, Redux, Redux-Thunk, Intl, React Router v4, etc... and packaged by Webpack 2. Enjoy!
Stars: ✭ 14 (-84.62%)
Mutual labels:  react-router, react-components
react-ui-components
React UI Components (npm @assenti/rui-components)
Stars: ✭ 21 (-76.92%)
Mutual labels:  jsx, react-components
next-qrcode
React hooks for generating QRCode for your next React apps.
Stars: ✭ 87 (-4.4%)
Mutual labels:  react-components, react-hooks
react-pits
React δΈ­ηš„ε‘
Stars: ✭ 29 (-68.13%)
Mutual labels:  react-router, jsx
laravel-react-boilerplate
Laravel React Boilerplate with Ant Design, Route-Level Code Splitting, Redux, Sanctum Auth
Stars: ✭ 49 (-46.15%)
Mutual labels:  react-router, react-hooks
react-social-network
react social network
Stars: ✭ 13 (-85.71%)
Mutual labels:  react-router, react-hooks
Light Bootstrap Dashboard React
React version of Light Bootstrap Dashboard
Stars: ✭ 561 (+516.48%)
Mutual labels:  react-router, react-components
React-Native-Showcase
Best List of Open Source / Examples / Free / Case Study & Featured Template React Native Apps
Stars: ✭ 39 (-57.14%)
Mutual labels:  react-router, react-components
React Atomic Structure
Basic Structure for React app following Atomic Design
Stars: ✭ 89 (-2.2%)
Mutual labels:  react-router, jsx
Fakeflix
Not the usual clone that you can find on the web.
Stars: ✭ 4,429 (+4767.03%)
Mutual labels:  react-router, react-hooks
React Movies App
πŸŽ₯ React movie app finder || experimenting with ant-design
Stars: ✭ 58 (-36.26%)
Mutual labels:  react-router, react-components
React Firestore Authentication
πŸ”₯Boilerplate Project for Authentication with Firestore in React.
Stars: ✭ 165 (+81.32%)
Mutual labels:  react-router, firestore
covid
COVID-19 updates webpage
Stars: ✭ 117 (+28.57%)
Mutual labels:  react-router, react-hooks
react-laravel
A simple crud based laravel app to learn how to use react with laravel.
Stars: ✭ 43 (-52.75%)
Mutual labels:  react-router, react-hooks
react-ssr-starter
πŸ”₯ βš›οΈ A React boilerplate for a universal web app with a highly scalable, offline-first foundation and our focus on performance and best practices.
Stars: ✭ 40 (-56.04%)
Mutual labels:  react-router, react-hooks
React Projects
A collection of projects built on the React library
Stars: ✭ 602 (+561.54%)
Mutual labels:  react-router, jsx

NETFLIX Logo
Netflix Clone Built Using React.JS & Firebase

This is a clone of Netflix website built using React.JS as a Front-end & Firebase as Back-end. It's not a replica, and it doesn't have all the features of Netflix website. it's a similar version of Netflix with my own design touch, showing my abilities in React.JS to build something advanced like Netflix. It contains the home page, sign-in page, sign-up page, browse page, and movie player.

Take a look at the live version here: https://react-netflix-clone-beta.vercel.app :octocat: 😍

Table of Contents

Project Walk-Through

Home Page

ScreenShot ScreenShot ScreenShot ScreenShot ScreenShot ScreenShot

The Home Page consists of 5 main sections:

1) Header, which includes:

  • Logo: it redirects you to the home page when you click on it.

  • Sign-in button: it redirects you to the sign-in page.

  • Feature title & subtitle: It shows the main sentences of the website.

2) Optform: It's a text input field and a button, It redirects you to the sign-up page once you click on the button.

3) Jumbotron: This section contains some images and paragraphs beside it, showing the advantages of Netflix. The data of this Jumbotron came from jumbo.json file.

4) Frequently Asked Questions: This section contains the FAQs in a form of accordion, when you click anywhere in the gray area of the question the answer appears below it, and then you can close the answer by clicking again on the same gray area of the question. The data of these FAQs came from faqs.json file.

5) Footer: It contains useful links users may need it.

### The page is fully responsive to all mobile devices even the small ones. ###

Sign-in Page

ScreenShot ScreenShot

The Sign-in Page consists of 3 main sections:

1) Header, which includes:

  • Logo: it redirects you to the home page when you click on it.

2) Sign-in Form, which includes:

  • Email address input field.

  • Password input field.

  • Sign-in Button: It has a validation option, if any field in the form is empty it will be disabled. If the form fields have any data it will be active and will send the data to the firebase database in the backend for authentication. It has also an error handling function.

  • Link to Sign-up Page: it redirects you to the sign-up page.

3) Footer: It contains useful links users may need it.

### The page is fully responsive to all mobile devices even the small ones. ###

Sign-up Page

ScreenShot ScreenShot

The Sign-up Page consists of 3 main sections:

1) Header, which includes:

  • Logo: it redirects you to the home page when you click on it.

2) Sign-up Form, which includes:

  • First Name input field.

  • Email address input field.

  • Password input field.

  • Sign-up Button: It has a validation option, if any field in the form is empty it will be disabled. If the form fields have any data it will be active and will send the data to the firebase database in the backend for registration. It has also an error handling function.

  • Link to Sign-in Page: it redirects you to the sign-in page.

3) Footer: It contains useful links users may need it.

### The page is fully responsive to all mobile devices even the small ones. ###

Browse Page

ScreenShot ScreenShot ScreenShot ScreenShot

The Browse Page consists of 5 main sections:

1) Header, which includes:

  • Logo: it redirects you to the home page whenever you click it.

  • Categories Links: It shows the movies of a specific category when you click on it, for example, if you click on the films link it will be active and the browse page will show only the films. And if you click on the series link it will be active and the browse page will show only the series.

  • Featured Movie Title & Description: It shows the title and description of the featured movie.

  • Play Button: it shows the video player to play the movie.

2) Movies Slides: It's a slides shows the movies based on their genre. The genres and all movie information had been retrieved from the Firebase database.

3) Movie Card: It's an image represent the movie, when you hover over it became bigger and it will show its card feature if you click on it.

4) Card Feature: it's another section that appears under the movie slide if you click on any movie card, it contains more information about the movie like title, description, a special background represent the movie, and play button. when you click on the play button it shows the video player to play the movie. and you can close the card feature by clicking on the close icon in the top right corner of the card feature.

5) Video Player: it's a video player that has full controls, appears in the middle of the screen when you click on any play button, and you have to click on the play icon in the video player after it show up because it doesn't have an autoplay option currently. And when the video player show up the whole screen became an overlay, and only the video appears in the middle, and when you scroll up and down the video player moves with you. The video player should show the video of this movie which you clicked on it, but for this project purpose, it shows only one video as a sample for all movies.

You can close the video player anytime by clicking anywhere else on the screen.

ScreenShot

6) Footer: It contains useful links users may need it.

### The page is fully responsive to all mobile devices even the small ones. ###

Live Demo

Take a look on the live version here: https://react-netflix-clone-red.vercel.app/ :octocat: 😍

Technology Used

I have built this project using the following tools & techniques:

  • React.JS
  • React Router.
  • React Forms.
  • React Hooks.
  • useState.
  • useContext.
  • useEffect.
  • useHistory.
  • useState.
  • Compound Components.
  • JSX.
  • CSS Modules.
  • Firebase.
  • VSCode.
  • StyleLint.
  • EsLint.
  • Github Actions.
  • Github Pages.

How To Use

To be able to use this react app locally in a development environment you will need the following:

  1. You will need Git and Node.js installed on your computer.

  2. You will need an account on Firebase and you should create a project on your firebase account dedicated to this Netflix project.

  3. You will need the "./seed.js" file (which I added in this repo) to seed your firebase backend with movies information. OR you can use your seed file with your information if you want.

  4. Then From your terminal, you should do the following:

# Clone this repository
git clone https://github.com/AhmedTohamy01/React-Netflix-Clone

# Go into the repository
cd react-netflix-clone

# Install dependencies
npm install 
  1. Then you will need to create the ./src/lib/firebase.prod.js file in your local repo, The content of firebase.prod.js file will be like the following:
import Firebase from 'firebase/app';
import 'firebase/firestore';
import 'firebase/auth';

// 1) when seeding the database you'll have to uncomment this!
// import { seedDatabase } from '../seed';

const config = {
  apiKey: '',
  authDomain: '',
  databaseURL: '',
  projectId: '',
  storageBucket: '',
  messagingSenderId: '',
  appId: '',
};

const firebase = Firebase.initializeApp(config);
// 2) when seeding the database you'll have to uncomment this!
// seedDatabase(firebase);
// 3) once you have populated the database (only run once!), re-comment
// this so you don't get duplicate data

export { firebase };
  1. Then you should use your firebase project information to fill the config information in firebase.prod.js file.
const config = {
  apiKey: '',
  authDomain: '',
  databaseURL: '',
  projectId: '',
  storageBucket: '',
  messagingSenderId: '',
  appId: '',
};
  1. Then you should seed your firebase database with the information in the seed.js file. , follow the following instructions to do this:
1) Un-comment the following line:
// import { seedDatabase } from '../seed'
// seedDatabase(firebase);

2) Save the firebase.prod.js.

3) Wait 2 minutes and check your firebase database , if you found the data there then re-comment the above 2 lines.
   If you didn't re-commet the above 2 lines after the seeding process, you will get dupliacted data in your 
   firebase database.
 
  1. After seeding your firebase database with the movies information & reverting the Github Pages changes you can run the Netflix React App using the following command from your terminal:
# Run the app
npm start
  1. Now you can see the project in your browser as you see in the live demo link. Happy Hacking!

Author

πŸ‘€ Ahmed Tohamy

Show Your Support

Give a ⭐️ if you like this project!

Acknowledgments

Hat tip to everyone helped me to learn the techniques used in building this project.

License

MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].