{"id":21714571,"url":"https://github.com/hariyebk/terasmovies","last_synced_at":"2026-04-27T08:31:54.435Z","repository":{"id":186574983,"uuid":"675303011","full_name":"hariyebk/TerasMovies","owner":"hariyebk","description":"search and bookmark your favorite movies","archived":false,"fork":false,"pushed_at":"2023-08-07T04:09:29.000Z","size":313,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T07:49:16.266Z","etag":null,"topics":["custom-hooks","data-fetching","useeffect-hook","usestate-hook"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hariyebk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-08-06T13:28:47.000Z","updated_at":"2023-08-16T10:11:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"b459a072-6839-49be-bcc2-0dd55f204e0f","html_url":"https://github.com/hariyebk/TerasMovies","commit_stats":null,"previous_names":["hariyebk/terasmovies"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hariyebk/TerasMovies","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariyebk%2FTerasMovies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariyebk%2FTerasMovies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariyebk%2FTerasMovies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariyebk%2FTerasMovies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hariyebk","download_url":"https://codeload.github.com/hariyebk/TerasMovies/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariyebk%2FTerasMovies/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32329463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["custom-hooks","data-fetching","useeffect-hook","usestate-hook"],"created_at":"2024-11-26T00:36:46.039Z","updated_at":"2026-04-27T08:31:54.381Z","avatar_url":"https://github.com/hariyebk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# TerasMovie\n\nThis is a React app that allows users to search for movies, view movie details, rate movies, and keep track of their favorite movies.\n\n\u003ch2 align = \"center\"\u003e\n    \u003cimg src = \"demo.png\"/\u003e  \n\u003c/h2\u003e\n\n## Features\n\n- Search for movies by title \n- View movie details including poster, release date, runtime, genre, ratings, plot, actors, and director\n- Rate movies with a star rating\n- Add movies to a favorites list\n- View favorite movies list with average ratings and runtime\n- Remove movies from favorites\n- Persist favorite movies in localStorage\n\n## Technologies Used\n\n- React\n- React Hooks (useState, useEffect, useRef) \n- React Components\n- React Composition\n- Custom Hook (useMovie)\n- OMDB API\n- Local Storage\n\n## Component Structure\n\n- **App** - Stateful component, handles all state \u0026 data fetching\n- **NavBar** - Displays heading \u0026 searchbar\n- **Search** - Search input that updates query state\n- **Main** - Wraps MovieList and MovieDetails sections\n- **List** - Wraps all list components, handles open/closed toggle\n- **Button** - Toggle button for opening/closing List components  \n- **MovieList** - Displays movie search results \n- **MovieDetails** - Displays details on clicked movie\n- **MovieSummary** - Summary stats for watched movies\n- **MoviesWatched** - Display individual watched movie row\n- **Loader** - Loading spinner component\n- **Error** - Displays error message\n\n## Custom Hooks\n\n- **useMovie** - Handles fetching movie data from OMDB API\n\n## Installation\n\n1. Clone the repo\n```\ngit clone https://github.com/hariyebk/TerasMovies.git\n```\n\n2. Install dependencies\n```\nnpm install\n```\n\n3. Start the dev server\n```\nnpm start\n```\n\n4. Open http://localhost:3000 to view the app\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhariyebk%2Fterasmovies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhariyebk%2Fterasmovies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhariyebk%2Fterasmovies/lists"}