{"id":15095765,"url":"https://github.com/ertugrulsertaslan/netflix-clone","last_synced_at":"2026-01-07T07:32:36.267Z","repository":{"id":253830300,"uuid":"844618969","full_name":"ertugrulsertaslan/netflix-clone","owner":"ertugrulsertaslan","description":"Netflix Clone is a web application that replicates the functionality and design of Netflix, allowing users to browse and stream movies and TV shows.","archived":false,"fork":false,"pushed_at":"2024-09-17T08:53:52.000Z","size":14865,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T22:35:05.554Z","etag":null,"topics":["lodash","material-ui","mongodb-atlas","next-auth","nextjs","prisma","reacticons","reactjs","swr","tailwindcss","vercel","zustand"],"latest_commit_sha":null,"homepage":"https://netflix-clone-ert.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ertugrulsertaslan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-19T16:18:54.000Z","updated_at":"2024-09-17T08:53:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"8afca876-b2fd-417e-a38a-755bd9d2759b","html_url":"https://github.com/ertugrulsertaslan/netflix-clone","commit_stats":{"total_commits":59,"total_committers":2,"mean_commits":29.5,"dds":0.03389830508474578,"last_synced_commit":"20d721b581dbcaada5615ed6ac5538e697f409b3"},"previous_names":["ertugrulsertaslan/netflix-clone"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ertugrulsertaslan%2Fnetflix-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ertugrulsertaslan%2Fnetflix-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ertugrulsertaslan%2Fnetflix-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ertugrulsertaslan%2Fnetflix-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ertugrulsertaslan","download_url":"https://codeload.github.com/ertugrulsertaslan/netflix-clone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240254185,"owners_count":19772387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lodash","material-ui","mongodb-atlas","next-auth","nextjs","prisma","reacticons","reactjs","swr","tailwindcss","vercel","zustand"],"created_at":"2024-09-25T15:41:46.395Z","updated_at":"2026-01-07T07:32:36.222Z","avatar_url":"https://github.com/ertugrulsertaslan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netflix Clone 🎬📺\n\n\nNetflix Clone is a web application that replicates the functionality and design of Netflix, allowing users to browse and stream movies and TV shows.\n\n  ## Demo  🌐\n [netflix-clone](https://netflix-clone-woad-phi.vercel.app/) \n\n## Screenshots 📸\n\u003cdiv\u003e\n    \u003ch3\u003eBillboard 🎥\u003c/h3\u003e\n    \u003cimg src=\"screenshots/billboard-screen.png\" alt=\"Billboard\" style=\"width: 100%; margin-right: 4%;\"\u003e\n\u003c/div\u003e\n\u003cdiv style=\"display: flex; flex-direction: row;\"\u003e\n  \u003ch3\u003eInfo Modal 🔍\u003c/h3\u003e\n    \u003cimg src=\"screenshots/modal.png\" alt=\"Modal\" style=\"width: 100%; margin-right: 4%;\"\u003e\n  \u003ch3\u003eMovie Card 🎬\u003c/h3\u003e\n    \u003cimg src=\"screenshots/movie-card.png\" alt=\"movie-card\" style=\"width: 100%; margin-right: 4%;\"\u003e\n\u003c/div\u003e\n\u003cdiv style=\"display: flex; flex-direction: row;\"\u003e\n  \u003ch3\u003eLogin Page 🔐\u003c/h3\u003e\n    \u003cimg src=\"screenshots/login-page.png\" alt=\"login-page\" style=\"width: 100%; margin-right: 4%;\"\u003e\n  \u003ch3\u003eProfiles Page 👤\u003ch3\u003e\n   \u003cimg src=\"screenshots/profiles-page.png\" alt=\"profiles-page\" style=\"width: 100%; margin-right: 4%;\"\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  \u003ch3\u003eMobil Screen 👤\u003ch3\u003e\n   \u003cimg src=\"screenshots/mobil-screen.png\" alt=\"mobil-screen\" style=\" margin-right: 4%;\"\u003e\n\u003c/div\u003e\n\n\n## Features ✨\n\n- **🎬 Movie \u0026 TV Show Browsing:** Users can browse through a large library of movies and TV shows. \n for each transaction.\n- **⭐ Favorites:** Users can add movies and TV shows to their favorites for easy access later.\n- **👤User Profiles:** Create and manage user profiles.\n- **🎥 Video Playback Controls:** Includes play, pause, skip, and volume controls.\n- **🖼️ Responsive Design:** Adaptable interface that works on different screen sizes.\n\n## Technologies Used 💻\n\n- 🗃️ [Zustand](https://zustand-demo.pmnd.rs) - State management library.\n- 📦 [Next.js](https://nextjs.org) - React framework for server-side rendering and static site generation.\n- 💻 [React.js](https://reactjs.org/) - JS library for crafting user interfaces\n- 🎨 [Tailwind CSS](https://tailwindcss.com/) - A utility-first CSS framework\n- ⚙️ [Material-UI (MUI)](https://mui.com) - React components for faster and easier web development.\n- 🛤️ [NextAuth.js](https://next-auth.js.org) - Authentication for Next.js applications.\n- 📄 [SWR](https://swr.vercel.app) - React Hooks library for data fetching.\n- 🌐 [Lodash](https://lodash.com) - JavaScript utility library for working with arrays, objects, and other data types.\n- 🖼️ [React Icons](https://react-icons.github.io/react-icons/) - A library of popular icons for React applications\n- 🌐 [Vercel](https://vercel.com/) - Hosting platform for deploying Next.js applications.\n\n ### Database 🗃️\n- 🛢️ [Prisma](https://www.prisma.io/) - Prisma ORM is an open-source next-generation ORM\n- ☘️ [MongoDB Atlas Cloud Database](https://www.mongodb.com/products/platform/cloud) - Cloud-based NoSQL database for storing and managing data.\n\n## Installation 🛠️\n\nPrerequisites\n\n- Install Node.js ⚙️\n- Clone the repo 🔄\n\n 📦 After cloning the repo install dependecies with\n ```sh \n\n   npm install\n\n```\n\n### Setting Up the .env File ⚙️\n\n1. **Cloning the Project:** 🔄\n   - Once you've cloned the project, you'll need to create a `.env` file.\n   - I've included an .env.example file with detailed instructions on which environment variables the project requires and how to set them up.\n    \n2. **Creating the .env File:** ⚙️\n   - Start by copying the `.env.example` file and creating a new file named `.env`.\n   - Make sure to fill in the contents of the `.env` file.\n\n3. **Defining Environment Variables:** 🔧\n  - In the .env file, you need to define the following environment variables to set up authentication with Google and GitHub using NextAuth.js:.\n\n ```sh \n\n   # Google OAuth credentials\n      GOOGLE_CLIENT_ID=your_google_client_id\n      GOOGLE_CLIENT_SECRET=your_google_client_secret\n\n   # GitHub OAuth credentials\n      GITHUB_ID=your_github_client_id\n      GITHUB_SECRET=your_github_client_secret\n\n   # NextAuth.js secrets\n      NEXTAUTH_SECRET=your_nextauth_secret\n      NEXTAUTH_JWT_SECRET=your_nextauth_jwt_secret\n\n\n```\n\n4. **Generating OAuth Credentials:** 🔑\n- For Google:\n  - Go to the [Google Cloud Console](https://console.cloud.google.com/welcome/new?project=metal-force-433208-a0NB).\n  - Create a new project or select an existing project.\n  - Navigate to APIs \u0026 Services \u003e Credentials.\n  - Click on Create Credentials and select OAuth 2.0 Client IDs.\n  - Configure the OAuth consent screen and set up the credentials.\n  - Copy the `Client ID` and `Client Secret` and add them to your `.env` file.\n\n- For Github:\n  - Go to [GitHub Developer Settings](https://github.com/settings/developers).\n  - Click on New OAuth App.\n  - Fill in the required information and create the app.\n  - Copy the `Client ID` and `Client Secret` and add them to your `.env` file.\n\n5. **Generating NextAuth.js Secrets\n:**\n- NEXTAUTH_SECRET: This secret is used to encrypt the session and JWT tokens. You can generate a secure random string using a tool like openssl or uuid:\n\n\n ```sh \n\n    openssl rand -base64 32\n\n```\n- NEXTAUTH_JWT_SECRET: This secret is used for signing JWT tokens. You can use the same method as `NEXTAUTH_SECRET` to generate a secure string.\n\n6.Completing Setup: ✅\n\n- Once you have generated and added all the necessary credentials and secrets to the .env file, you are ready to start the application.\n\n\n\n## License 📄\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fertugrulsertaslan%2Fnetflix-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fertugrulsertaslan%2Fnetflix-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fertugrulsertaslan%2Fnetflix-clone/lists"}