{"id":19763255,"url":"https://github.com/sougata-github/use-popcorn","last_synced_at":"2025-08-25T13:17:26.126Z","repository":{"id":194843736,"uuid":"691625876","full_name":"sougata-github/use-popcorn","owner":"sougata-github","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-26T15:11:28.000Z","size":129,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T08:07:56.458Z","etag":null,"topics":["movieapp","omdb-api","react","useeffect-hook"],"latest_commit_sha":null,"homepage":"https://use-popcorn-xi.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/sougata-github.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":"2023-09-14T14:55:20.000Z","updated_at":"2024-03-19T08:45:59.000Z","dependencies_parsed_at":"2023-09-15T11:14:06.999Z","dependency_job_id":"a91d9ba2-ffa3-434a-81a0-cfd903e9bec2","html_url":"https://github.com/sougata-github/use-popcorn","commit_stats":null,"previous_names":["sdinfinity/use-popcorn","sougatadas9874/use-popcorn","sougata-github/use-popcorn"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sougata-github/use-popcorn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sougata-github%2Fuse-popcorn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sougata-github%2Fuse-popcorn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sougata-github%2Fuse-popcorn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sougata-github%2Fuse-popcorn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sougata-github","download_url":"https://codeload.github.com/sougata-github/use-popcorn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sougata-github%2Fuse-popcorn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272072280,"owners_count":24868406,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["movieapp","omdb-api","react","useeffect-hook"],"created_at":"2024-11-12T04:08:37.261Z","updated_at":"2025-08-25T13:17:26.071Z","avatar_url":"https://github.com/sougata-github.png","language":"JavaScript","readme":"# usePopcorn - Movie App in React\n\n## Preview of Live Site\n![Screenshot (123)](https://github.com/sougata-github/use-popcorn/assets/102734212/1505deb5-c350-4266-b128-e655a5ea17ee)\n\n\n\n\n\nusePopcorn is a movie app built with React that allows you to discover, rate, and track the movies you've watched. With a clean and intuitive interface, usePopcorn simplifies your movie-watching experience.\n\n## Features\n\n- **Search Movies**: Easily search for your favorite movies by title and see the number of results found.\n- **View Movie Details**: Get detailed information about a movie, including its plot, release date, and more.\n- **Rate Movies**: Rate movies on a scale of 1 to 5 stars based on your enjoyment.\n- **Track Watched Movies**: Add movies to your watched list to keep a record of what you've seen.\n- **Watched Movie Summary**: See a summary of the total movies you've watched, your average rating, and total watch time.\n\n## Components\n\nThe project is organized into several reusable components:\n\n- **Navbar**: The navigation bar for searching movies and displaying the number of results found.\n- **MovieList**: Display a list of movies based on your search query.\n- **Movie**: Render detailed information about a single movie.\n- **WatchedMovieList**: List of movies you've watched.\n- **WatchedMovie**: Display details of a watched movie.\n- **StarRating**: A component for rating movies.\n- **ErrorMessage**: Handle and display errors gracefully.\n- **Loader**: A loading spinner for a smoother user experience.\n- **ToggleButton**: Allows you to add or remove movies from your watched list.\n\n## OMDB API Integration\n\nusePopcorn leverages the OMDB API to fetch movie data, including details and search results. This allows you to access up-to-date information about your favorite movies.\n\n## useState and useEffect\n\n- **useState**: The app uses the `useState` hook to manage component state efficiently, enabling dynamic updates to the user interface.\n- **useEffect**: `useEffect` is employed for handling side effects, such as fetching data from the OMDB API, ensuring a seamless user experience.\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsougata-github%2Fuse-popcorn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsougata-github%2Fuse-popcorn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsougata-github%2Fuse-popcorn/lists"}