{"id":32563054,"url":"https://github.com/blevs/http-movies-recitation","last_synced_at":"2026-03-15T06:55:26.326Z","repository":{"id":39417011,"uuid":"203901226","full_name":"Blevs/http-movies-recitation","owner":"Blevs","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-04T07:55:07.000Z","size":2179,"stargazers_count":2,"open_issues_count":22,"forks_count":4,"subscribers_count":2,"default_branch":"shared-state","last_synced_at":"2023-03-03T18:39:13.375Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Blevs.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":"2019-08-23T01:30:59.000Z","updated_at":"2023-01-31T17:31:04.000Z","dependencies_parsed_at":"2023-02-02T04:16:39.031Z","dependency_job_id":null,"html_url":"https://github.com/Blevs/http-movies-recitation","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/Blevs/http-movies-recitation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blevs%2Fhttp-movies-recitation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blevs%2Fhttp-movies-recitation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blevs%2Fhttp-movies-recitation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blevs%2Fhttp-movies-recitation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Blevs","download_url":"https://codeload.github.com/Blevs/http-movies-recitation/tar.gz/refs/heads/shared-state","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blevs%2Fhttp-movies-recitation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281549787,"owners_count":26520515,"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-10-29T02:00:06.901Z","response_time":59,"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":[],"created_at":"2025-10-29T02:56:22.559Z","updated_at":"2025-10-29T02:56:39.491Z","avatar_url":"https://github.com/Blevs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTP Movies - Stretch Assignment\n\n## Instructions\n\n- **Fork** this repository, then clone your fork.\n- Run `yarn` to download dependencies.\n- Run the server using `yarn start` or `node server.js`.\n- In a separate terminal cd into the `client` folder and run `yarn install` to download dependencies.\n- Still inside the `client` folder run `yarn start` to run the client application.\n\n### Part 1 - Updating A Movie:\n\n- Add a route at the path `/update-movie/:id`\n- Create a component with a form to update the chosen movie\n- Add a button in the movie component that routes you to your new route with the movies's id as the URL param\n- The form should make a PUT request to the server when submitted\n- When the call comes back successfully, reset your form state and route the user to `/movies` where they will see the updated movie in the list\n\nMovie object format:\n\n```\n{\n  id: 5,\n  title: 'Tombstone',\n  director: 'George P. Cosmatos',\n  metascore: 89,\n  stars: ['Kurt Russell', 'Bill Paxton', 'Sam Elliot'],\n}\n```\n\n### Part 2 - Deleting A Movie:\n\n- Add a delete button in the movie component that makes a DELETE request\n- When the call comes back successfully, route the user to `/movies` where they will see the updated movie list without the deleted movie\n\n### Part 3 (Stretch) - Adding A Movie:\n\n- Add a route at the path `/add-movie`\n- Create a component with a form to add a new movie\n- Each created movie should have the following format (notice the array of strings - this will test your JS skills, so work through it methodically)\n- The form should make a POST request to the server when submitted\n- When the call comes back successfully, reset your form state and route the user to `/movies`\n\nMovie object format:\n\n```\n{\n  id: 5,\n  title: 'Tombstone',\n  director: 'George P. Cosmatos',\n  metascore: 89,\n  stars: ['Kurt Russell', 'Bill Paxton', 'Sam Elliot'],\n}\n```\n\n## Stretch Problem\n\n- See Part 3 above (Adding movies with a POST request)\n- Style the app!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblevs%2Fhttp-movies-recitation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblevs%2Fhttp-movies-recitation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblevs%2Fhttp-movies-recitation/lists"}