{"id":23176385,"url":"https://github.com/umutplvn/movie_web_app","last_synced_at":"2026-04-13T13:32:36.296Z","repository":{"id":185619045,"uuid":"673827994","full_name":"Umutplvn/Movie_Web_APP","owner":"Umutplvn","description":"Movie Web App","archived":false,"fork":false,"pushed_at":"2023-08-02T14:16:43.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-06T20:46:23.378Z","etag":null,"topics":["authantication","firebase","firebase-auth","private","react","tailwindcss","useeffec","usestate"],"latest_commit_sha":null,"homepage":"https://movie-web-app-umut.netlify.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/Umutplvn.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}},"created_at":"2023-08-02T14:10:46.000Z","updated_at":"2024-07-30T06:21:14.000Z","dependencies_parsed_at":"2024-01-06T19:41:04.018Z","dependency_job_id":null,"html_url":"https://github.com/Umutplvn/Movie_Web_APP","commit_stats":null,"previous_names":["umutplvn/movie-web-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Umutplvn/Movie_Web_APP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umutplvn%2FMovie_Web_APP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umutplvn%2FMovie_Web_APP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umutplvn%2FMovie_Web_APP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umutplvn%2FMovie_Web_APP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Umutplvn","download_url":"https://codeload.github.com/Umutplvn/Movie_Web_APP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umutplvn%2FMovie_Web_APP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31754950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T13:27:56.013Z","status":"ssl_error","status_checked_at":"2026-04-13T13:21:23.512Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["authantication","firebase","firebase-auth","private","react","tailwindcss","useeffec","usestate"],"created_at":"2024-12-18T06:16:32.966Z","updated_at":"2026-04-13T13:32:36.250Z","avatar_url":"https://github.com/Umutplvn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Movie App (RP-09)\n\n## Live at : https://movie-web-app-umut.netlify.app/\n\n## Description\n\nProject aims to create a Movie App.\n\n## Problem Statement\n\n- We are adding a new project to our portfolios. So you and your colleagues have started to work on the project.\n\n## Project Skeleton\n\n```\n009 - Movie App (folder)\n|\n|----readme.md         # Given to the students (Definition of the project)\nSOLUTION\n├── public\n│     └── index.html\n├── src\n│    ├── auth\n│    │     └── firebase.js\n│    ├── components\n│    │     ├── MovieCard.js\n│    │     └── Navbar.js\n│    ├── context\n│    │     └── AuthContext.js\n│    ├── pages\n│    │     ├── Login.js\n│    │     ├── Register.js\n│    │     ├── Main.js\n│    │     └── MovieDetail.js\n│    ├── router\n│    │     └── Router.js\n│    ├── App.js\n│    ├── App.css\n│    ├── index.js\n│    └── index.css\n├── package.json\n├── .env\n└── yarn.lock\n```\n\n## Objective\n\nBuild a Movie App using ReactJS.\n\n### At the end of the project, following topics are to be covered;\n\n- HTML\n\n- CSS\n\n- JS\n\n- ReactJS\n\n### At the end of the project, students will be able to;\n\n- improve coding skills within HTML \u0026 CSS \u0026 JS \u0026 ReactJS.\n\n- use git commands (push, pull, commit, add etc.) and Github as Version Control System.\n\n## Steps to Solution\n\n- Before start you can watch these tutorials:\n  - https://www.youtube.com/watch?v=9bXhf_TELP4\n  - https://www.youtube.com/watch?v=vDT7EnUpEoo\n- Step 1 : Create React App using `npx create-react-app movie-app` and install firebase `npm i firebase` / `yarn add firebase`\n\n- Step 2 : Signup `https://firebase.google.com/` and create new app in firebase.\n  Firebase is a backed application development software that enables developers to develop iOS, Android and Web apps. It provides developers with a variety of tools and services to help them develop quality apps, grow their user base, and earn profit. It is built on Google’s infrastructure. Firebase offers a number of services, including: analytics,authentication, cloud messaging, realtime database, performance and test lab. Firebase is categorized as a NoSQL database program, which stores data in JSON-like documents.\n\n\n- Step 3 : Use `https://firebase.google.com/docs/auth/web/start` and create `Authentication` operations.\n  - Add the Firebase Authentication JS codes in your `firebase.js` file and initialize Firebase Authentication:\n\n```jsx\nimport { initializeApp } from \"firebase/app\";\nimport { getAuth } from \"firebase/auth\";\n\n// TODO: Replace the following with your app's Firebase project configuration at project settings part\n// See: https://firebase.google.com/docs/web/learn-more#config-object\nconst firebaseConfig = {\n  // ...\n};\n\n// Initialize Firebase\nconst app = initializeApp(firebaseConfig);\n\n// Initialize Firebase Authentication and get a reference to the service\nconst auth = getAuth(app);\n```\n\n- Use this method to `Sign up new users` :\n\n```jsx\nimport { getAuth, createUserWithEmailAndPassword } from \"firebase/auth\";\n\ncreateUserWithEmailAndPassword(auth, email, password)\n  .then((userCredential) =\u003e {\n    // Signed in\n    const user = userCredential.user;\n  })\n  .catch((error) =\u003e {\n    console.log(error);\n  });\n```\n\n- Go to https://console.firebase.google.com =\u003e Authentication =\u003e sign-in-method =\u003e `enable Email/password`\n- Use this method to `Sign in existing users` :\n\n```jsx\nimport { getAuth, signInWithEmailAndPassword } from \"firebase/auth\";\n\nsignInWithEmailAndPassword(auth, email, password)\n  .then((userCredential) =\u003e {\n    // Signed in\n    const user = userCredential.user;\n  })\n  .catch((error) =\u003e {\n    console.log(error);\n  });\n```\n\n- Use this method to `Set an authentication state observer and get user data` :\n\n```jsx\nimport { getAuth, onAuthStateChanged } from \"firebase/auth\";\n\nonAuthStateChanged(auth, (user) =\u003e {\n  if (user) {\n    // User is signed in, see docs for a list of available properties\n    // https://firebase.google.com/docs/reference/js/firebase.User\n  } else {\n    // User is signed out\n  }\n});\n```\n\n- Go to https://console.firebase.google.com =\u003e Authentication =\u003e sign-in-method =\u003e `enable Google`\n- Use this method to `Authenticate Using Google with Popup` :\n\n```jsx\nimport { GoogleAuthProvider } from \"firebase/auth\";\n\nconst provider = new GoogleAuthProvider();\n\nsignInWithPopup(auth, provider)\n  .then((result) =\u003e {\n    // The signed-in user info.\n    const user = result.user;\n  })\n  .catch((error) =\u003e {\n    // Handle Errors here.\n    console.log(error);\n  });\n```\n\n- Use this method to `Sign Out` :\n\n```jsx\nimport { getAuth, signOut } from \"firebase/auth\";\n\nsignOut(auth)\n  .then(() =\u003e {\n    // Sign-out successful.\n  })\n  .catch((error) =\u003e {\n    // An error happened.\n  });\n```\n\n- Use this method to `Send a password reset email` :\n\n```jsx\nimport { getAuth, sendPasswordResetEmail } from \"firebase/auth\";\n\nsendPasswordResetEmail(auth, email)\n  .then(() =\u003e {\n    // Password reset email sent!\n  })\n  .catch((error) =\u003e {\n    const errorMessage = error.message;\n    // ..\n  });\n```\n\n- Step 4 : Signup `https://www.themoviedb.org/documentation/api` and get API key. In order to get data use `https://api.themoviedb.org/3/discover/movie?api_key=${API_KEY}`, to search movies use `https://api.themoviedb.org/3/search/movie?api_key=${API_KEY}\u0026query=`, to get movie details use `https://api.themoviedb.org/3/movie/${id}?api_key=${API_KEY}` and to get video key use `https://api.themoviedb.org/3/movie/${id}/videos?api_key=${API_KEY}`. Use `https://image.tmdb.org/t/p/w1280${poster_path}` for image `src`.\n\n- Step 5: You can use css frameworks like Bootstrap, Semantic UI, Material UI.\n\n- Step 6: Add project gif to your project and README.md file.\n\n## Notes\n\n- You can add additional functionalities to your app.\n\n**\u003cp align=\"center\"\u003e\u0026#9786; Happy Coding \u0026#9997;\u003c/p\u003e**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumutplvn%2Fmovie_web_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumutplvn%2Fmovie_web_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumutplvn%2Fmovie_web_app/lists"}