{"id":24725412,"url":"https://github.com/dinomoon/movie_app","last_synced_at":"2026-04-11T03:33:41.381Z","repository":{"id":41612829,"uuid":"274877579","full_name":"dinomoon/movie_app","owner":"dinomoon","description":"Nomad Coders - ReactJS로 영화 웹 서비스 만들기 https://dinomoon.github.io/movie_app/","archived":false,"fork":false,"pushed_at":"2023-01-05T21:54:59.000Z","size":2055,"stargazers_count":0,"open_issues_count":21,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T06:48:25.521Z","etag":null,"topics":["nomadcoders","react"],"latest_commit_sha":null,"homepage":"","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/dinomoon.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}},"created_at":"2020-06-25T09:31:55.000Z","updated_at":"2021-03-07T05:09:47.000Z","dependencies_parsed_at":"2023-02-04T19:03:06.255Z","dependency_job_id":null,"html_url":"https://github.com/dinomoon/movie_app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dinomoon/movie_app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinomoon%2Fmovie_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinomoon%2Fmovie_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinomoon%2Fmovie_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinomoon%2Fmovie_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dinomoon","download_url":"https://codeload.github.com/dinomoon/movie_app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinomoon%2Fmovie_app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31668047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"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":["nomadcoders","react"],"created_at":"2025-01-27T13:18:20.963Z","updated_at":"2026-04-11T03:33:41.363Z","avatar_url":"https://github.com/dinomoon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReactJS로 영화 웹 서비스 만들기\n\n### How does React work?\n\n### Creating your first React component\n\n- component는 html을 반환하는 함수다.\n- javascript와 html사이의 조합을 jsx라고 한다.\n- component는 반드시 대문자로 시작해야한다.\n- react application은 하나의 component만 렌더링 할 수 있다. 그래서 component안에 component를 넣어야 한다.\n\n### Reusable Components with JSX + Props\n\n### Dynamic Component Generation\n\n- map함수\n\n### Protection with PropTypes\n\n- npm i prop-types\n- prop의 타입 등등을 미리 적어 놓음으로써 에러를 예방할 수 있다.\n\n### Class Components and State\n\n- 동적으로 데이터를 다루기 위해서는 Prop이 아니라 State를 사용해야한다.\n- 그런데 State를 사용하기 위해서는 App을 function이 아니라 class로 사용해야한다.\n\n### All you need to know about State\n\n- State의 값을 변경하려면 setState를 사용해야한다. 그냥 바꾸면 render가 일어나지 않아서 변경이 안된다.\n- setState를 부르면 State의 값이 변경되고 다시 render한다.\n- react에서 제공하는 current를 이용해 State값을 바꾸는 것이 성능에 좋다.\n\n### Component Life Cycle\n\n- Mounting: constructor(), render(), componentDidMount()\n- Updating: ~, render(), componentDidUpdate()\n- UnMounting: componentWillUnmount()\n\n### Planning the Movie Component\n\n- Life Cycle을 이용해서 movie를 모두 fetch하면 영화를 보여주게 하기\n\n### Fetching Movies from API\n\n- axios\n- yts (불법사이트..?)\n\n### Rendering the Movies\n\n### Styling the movies\n\n### Adding Genres\n\n### CSS and cutting the summary\n\n- {summary.slice(0, 180)}...\n\n### Deploying to Github pages\n\n- npm i gh-pages\n- \"homepage\": \"https://dinomoon.github.io/movie_app\"\n  - 반드시 소문자!\n- \"deploy\": \"gh-pages -d build\"\n- \"predeploy\": \"npm run build\"\n\n### Getting ready for the Router\n\n### Building the Router\n\n- npm i react-router-dom\n\n### Building the Navigation\n\n- a, href\n- Link, to\n\n### Sharing Props Between Routes\n\n- Link에 state를 담아서 보낼 수 있다.\n\n### Redirecting\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinomoon%2Fmovie_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinomoon%2Fmovie_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinomoon%2Fmovie_app/lists"}