{"id":24167589,"url":"https://github.com/johnnycus/graphql-countries","last_synced_at":"2025-08-22T13:17:26.789Z","repository":{"id":90349722,"uuid":"205605160","full_name":"Johnnycus/graphql-countries","owner":"Johnnycus","description":"Live demo:","archived":false,"fork":false,"pushed_at":"2020-06-07T05:35:16.000Z","size":2478,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T09:28:13.575Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://front-end-rldxbiqlxk.now.sh/","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/Johnnycus.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":"2019-08-31T23:04:26.000Z","updated_at":"2020-03-14T16:21:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"69c0eff7-6fcf-4484-acf3-f0f65ef2be33","html_url":"https://github.com/Johnnycus/graphql-countries","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Johnnycus/graphql-countries","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Johnnycus%2Fgraphql-countries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Johnnycus%2Fgraphql-countries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Johnnycus%2Fgraphql-countries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Johnnycus%2Fgraphql-countries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Johnnycus","download_url":"https://codeload.github.com/Johnnycus/graphql-countries/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Johnnycus%2Fgraphql-countries/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267740282,"owners_count":24137064,"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-07-29T02:00:12.549Z","response_time":2574,"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-01-12T21:29:22.033Z","updated_at":"2025-07-29T19:13:43.308Z","avatar_url":"https://github.com/Johnnycus.png","language":"JavaScript","readme":"## Features\n1. Header with animation. Infinite animation on home page. On other pages animation works while the data from GraphQL endpoint is being loaded\n2. Search bar\n3. Countries list uses [react-window](https://github.com/bvaughn/react-window) for rendering\n4. After you click on a country we save it in the localStorage and then show on the home page as \"Recently viewed\"\n5. When you go to URL /countries/:code by yourself the list of countries on the left will be automaticly scrolled to the country that you are checking right now\n6. Live demo on [Zeit Now](https://front-end-nzhpilpijd.now.sh/)\n7. Hooks are everywhere (and emojis 🥶)\n\n# Front-end task of Code Challenge for Scoutbase\n\nThis task is for demonstrating your understanding of HTML, CSS, Javascript, React \u0026 related libraries.\n\nIf you’re doing the front-end only, you must use the https://countries.trevorblades.com endpoint for GraphQL API.\n\nPreferred libraries:\n  1. `styled-components` for styling\n  2. `apollo-client` for consuming GraphQL API\n  3. `react-router` or any alternative to implement routing\n\nInstructions:\n\n1. Create a `create-react-app` repo.\n2. Add a router with routes:\n  - `/` - for displaying basic links for the other routes\n  - `/countries` - for requesting GraphQL API and rendering the list\n  - `/countries/(:code)` - for requesting GraphQL API and rendering the properties of a continent\n3. Design is totally by you.\n4. Countries list at `/countries` must contain the list of countries and the languages spoken in that country. Both in English and native languages. It should also contain the continent it is located in.\n5. `/countries/(:code)` must render the currency and a area code (phone) of that country.\n6. Routes must be fully loadable with a direct link. `/countries/CI` must render the page for Ivory Coast, for example.\n7. End.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnnycus%2Fgraphql-countries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnnycus%2Fgraphql-countries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnnycus%2Fgraphql-countries/lists"}