{"id":20312596,"url":"https://github.com/hollyabrams/react-router-patterns","last_synced_at":"2026-05-06T00:02:36.795Z","repository":{"id":155243075,"uuid":"627114283","full_name":"hollyabrams/react-router-patterns","owner":"hollyabrams","description":"React Router Exercises","archived":false,"fork":false,"pushed_at":"2023-04-12T20:14:51.000Z","size":546,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T08:31:54.475Z","etag":null,"topics":["react","react-router","react-router-dom"],"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/hollyabrams.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-04-12T20:14:01.000Z","updated_at":"2023-04-12T20:15:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9b1b733-fae7-47a3-aa0c-bd094d683d33","html_url":"https://github.com/hollyabrams/react-router-patterns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hollyabrams/react-router-patterns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hollyabrams%2Freact-router-patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hollyabrams%2Freact-router-patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hollyabrams%2Freact-router-patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hollyabrams%2Freact-router-patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hollyabrams","download_url":"https://codeload.github.com/hollyabrams/react-router-patterns/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hollyabrams%2Freact-router-patterns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32672682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"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":["react","react-router","react-router-dom"],"created_at":"2024-11-14T18:06:48.725Z","updated_at":"2026-05-06T00:02:36.765Z","avatar_url":"https://github.com/hollyabrams.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Router Patterns\n\n## Part 1 - React Router Dog Finder\nAn app that routes to different dogs and displays information on that dog when you’re at that route.\n\nThe routes should look like this:\n* /dogs is the homepage and shows all three dogs\n* Clicking on a dog from the homepage takes you to that dog’s route. For example, clicking on Whiskey will take you to /dogs/whiskey.\n* every other endpoint not listed should redirect you to /dogs.\n\n## Part 2 - React Router Color Factory\nUse React Router to build an app that lets you view colors and add new colors.\n\nUser Stories\n* As a user, I can go to /colors to see a list of all available colors.\n* As a user, I can click on one of the colors in my colors list and get taken to a page where I can see that color in all its glory.\n  * (The route here should be /colors/:color )\n* As a user, I can click on a button to show a form that will let me add a new color.\n  * Note that you can give an input a type of color if you’re trying to select a color. (The route here should be /colors/new)\n* As a user, when I submit my new color form, I am redirected to the colors index, and my new color appears at the top.\n* As a user, if I try to navigate to a color page that does not exist (eg, /colors/blargh), I am redirected to the colors index page.\n* As a user, if I try to navigate to an invalid url (eg, /this-is-not-valid), I am redirected to the colors index page\n\n## Further Study - React Router Calculator\nA calculator that supports routes like:\n\n* /add/1/2\n  * should render a component that displays 3.\n* /subtract/3/2\n  * should render a component that displays 1.\n* /multiply/6/4\n  * should render a component that displays 24.\n* /divide/20/5\n  * should render a component that displays 4.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhollyabrams%2Freact-router-patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhollyabrams%2Freact-router-patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhollyabrams%2Freact-router-patterns/lists"}