Web-stream is a Web Application created using ReactJS which can be used for streaming movies, tv shows, etc. just like Netflix.
This repository contains the source code of the frontend (UI) of this webapp.
The source code for the backend of the application is present here.
Note: This application looks like a clone of Netflix but is neither an exact replica of it nor is associated with it directly.
- User Authentication: User can signup on the platform to explore the vast variety of movies, tv shows, etc. (User authentication is being performed with the help of Firebase in this application.)
- Users can browse over a wide variety of shows, movies and series and explore them category wise as well.
- Users can also filter the content by different Genres.
- It also provides users ability to add their favorite shows & movies to their watch list.
- React.js
- NodeJS
- ExpressJs
- HTML
- CSS
- Javascript
- Redux
- Toolkit
- MongoDB
- Firebase
- Web APIs
- React Version: 18.2.0
- Node Version: 18.14.1
- NPM Version: 9.5.0
- You need to be registered with the TMDB website and have an API key generated in your account.
- You also need to have an account on Firebase's website and have a project created on it.
Before proceeding with the steps for running this application, you need to start the backend server by following the instructions present in the backend repo.
You can now follow the below steps to run this application in your system's local environment:
-
Get the source code on your pc via git.
git clone https://github.com/muskanmi/netflix-clone-frontend
-
Now, navigate inside the folder through your terminal.
cd netflix-clone-frontend
-
Create a directory named as
utils
inside the src directory present at the root of the repo. -
Next, you need to create a configuration file named as
constants.jsx
inside theutils
directory for authenticating with TMDB's API. -
Enter the following statements after adding the value of TMDB API key in this newly created
constants.jsx
file:export const API_KEY = ""; export const TMBD_BASE_URL = "https://api.themoviedb.org/3"
-
Then, you need to create another configuration file named as
firebase-config.js
inside theutils
directory for providing the configuration details of the Firebase project. -
Add the following statements in this newly created
firebase-config.js
file and use your firebase project information to fill the relevant config information:import { initializeApp } from "firebase/app"; import { getAuth } from "firebase/auth"; const firebaseConfig = { apiKey: "", authDomain: "", projectId: "", storageBucket: "", messagingSenderId: "", appId: "", measurementId: "" }; const app = initializeApp(firebaseConfig); export const firebaseAuth = getAuth(app);
-
Now, install the required dependencies by running the following command:
npm install
-
Finally, start the application by running:
npm start
-
Voila! the web-streaming application is ready for use. You can run it at http://127.0.0.1:3000/