Netflix Clone ๐ฌ About This Course:
โ๏ธ Tech Stack: React.js, Node.js, Express.js, MongoDB, Tailwind ๐ Authentication with JWT ๐ฑ Responsive UI ๐ฌ Fetch Movies and Tv Show ๐ Search for Actors and Movies ๐ฅ Watch Trailers ๐ฅ Fetch Search History ๐ฑโ๐ค Get Similar Movies/Tv Shows ๐ Awesome Landing Page ๐ Deployment ๐ And Many More Cool Features ๐ Project Structure netflix-clone/ โโโ backend/ # Express.js backend API โโโ frontend/ # React + Vite frontend app โโโ Dockerfile # Dockerfile for fullstack app โโโ .env # Environment variables (not committed) โโโ Jenkinsfile # CI/CD pipeline config for Jenkins โโโ k8s/ # Kubernetes manifests โ โโโ deployment.yaml # K8s deployment config โ โโโ service.yaml # K8s service config โโโ README.md # Project documentation
Setup .env file inside the backend folder then fill all require details PORT=5000 MONGO_URI=your_mongo_uri NODE_ENV=development JWT_SECRET=your_jwt_secre TMDB_API_KEY=your_tmdb_api_key ๐งช Run Locally with Docker Make sure Docker is installed and running on your system. Ensure that the .env file is created in the backend or root folder before running the container.
๐ณ Step 1: Build the Docker Image Run this command from your project root (where the Dockerfile is located):
docker build -t netflix-clone:latest .
๐ Step 2: Run the Docker Container Expose both the backend and frontend ports:
=> docker run -itd -p 5000:5000 -p 5173:5173 netflix-clone:latest ๐ Step 3: Access the Application
Backend API: http://localhost:5000โ Frontend UI: http://localhost:5173โ ๐งช Run Locally with Docker Hub Make sure Docker is installed and running on your system. Ensure that the .env file is created in the backend or root folder before running the container.
๐ณ Step 1: Pull the Docker Image
Run this command to pull the image from Docker Hub:
docker pull manish857/netflix-clone:latest ๐ Step 2: Run the Docker Container
Expose both the backend and frontend ports:
docker run -itd -p 5000:5000 -p 5173:5173 manish857/netflix-clone:latest ๐ Step 3: Access the Application
Backend API: http://localhost:5000โ Frontend UI: http://localhost:5173โ
Content type
Image
Digest
sha256:38a732e28โฆ
Size
454.5 MB
Last updated
about 1 year ago
docker pull manish857/netflix-clone