{"id":21055312,"url":"https://github.com/viniciuscosta89/rest-countries-api-vite","last_synced_at":"2026-05-08T07:33:13.450Z","repository":{"id":115500350,"uuid":"499665261","full_name":"viniciuscosta89/rest-countries-api-vite","owner":"viniciuscosta89","description":"Frontend Mentor Challenge","archived":false,"fork":false,"pushed_at":"2022-06-10T01:27:58.000Z","size":337,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T19:28:02.361Z","etag":null,"topics":["portfolio","react","react-helmet","react-select","styled-components","typescript","vite"],"latest_commit_sha":null,"homepage":"https://rest-countries-api-vite-viniciuscosta89.vercel.app/","language":"TypeScript","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/viniciuscosta89.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":"2022-06-03T22:14:52.000Z","updated_at":"2024-03-27T23:43:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"b6981ba6-c07a-4a6f-a4f4-ce4fa967e8ed","html_url":"https://github.com/viniciuscosta89/rest-countries-api-vite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/viniciuscosta89/rest-countries-api-vite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniciuscosta89%2Frest-countries-api-vite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniciuscosta89%2Frest-countries-api-vite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniciuscosta89%2Frest-countries-api-vite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniciuscosta89%2Frest-countries-api-vite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viniciuscosta89","download_url":"https://codeload.github.com/viniciuscosta89/rest-countries-api-vite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniciuscosta89%2Frest-countries-api-vite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32771039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: 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":["portfolio","react","react-helmet","react-select","styled-components","typescript","vite"],"created_at":"2024-11-19T16:42:59.999Z","updated_at":"2026-05-08T07:33:13.425Z","avatar_url":"https://github.com/viniciuscosta89.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - REST Countries API with color theme switcher solution\n\nThis is a solution to the [REST Countries API with color theme switcher challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/rest-countries-api-with-color-theme-switcher-5cacc469fec04111f7b848ca). Frontend Mentor challenges help you improve your coding skills by building realistic projects.\n\n## Table of contents\n\n- [Frontend Mentor - REST Countries API with color theme switcher solution](#frontend-mentor---rest-countries-api-with-color-theme-switcher-solution)\n  - [Table of contents](#table-of-contents)\n  - [Overview](#overview)\n    - [The challenge](#the-challenge)\n    - [Screenshot](#screenshot)\n    - [Links](#links)\n  - [My process](#my-process)\n    - [Built with](#built-with)\n    - [What I learned](#what-i-learned)\n    - [Continued development](#continued-development)\n    - [Useful resources](#useful-resources)\n  - [Author](#author)\n\n## Overview\n\n### The challenge\n\nUsers should be able to:\n\n- See all countries from the API on the homepage\n- Search for a country using an `input` field\n- Filter countries by region\n- Click on a country to see more detailed information on a separate page\n- Click through to the border countries on the detail page\n- Toggle the color scheme between light and dark mode *(optional)*\n\n### Screenshot\n\n![Light mode screenshot](./screenshot.png)\n\n### Links\n\n- Solution URL: [Add solution URL here](https://www.frontendmentor.io/solutions/rest-countries-api-with-dark-mode-reactvitestyledcomponentsts-3wpkEGYF8i)\n- Live Site URL: [Add live site URL here](https://rest-countries-api-vite-viniciuscosta89.vercel.app/)\n\n## My process\n\n### Built with\n\n- Semantic HTML5 markup\n- CSS custom properties\n- Flexbox\n- CSS Grid\n- Mobile-first workflow\n- [React](https://reactjs.org/) - JS library\n- [Vite](https://vitejs.dev) - Frontend Tooling\n- [Styled Components](https://styled-components.com/) - For styles\n- [Typescript](typescriptlang.org/)\n- [React Select](https://react-select.com/) - Select library\n- [React Helmet](https://github.com/nfl/react-helmet) - Head manager for React\n- [PNpm](https://pnpm.io) - Package manager\n- [Conventional Commits](conventionalcommits.org/) - A specification for commit messages\n\n### What I learned\n\n- A better folders architecture with React Hooks, Context and Types.\n- Theming with Styled Components.\n- Cache with localStorage.\n- PNPM as my package manager.\n- Conventional Commits.\n\n### Continued development\n\nI want to use Frame Motion for some page transitions and implement tests with Cypress.\n\n### Useful resources\n\n- [About Convetional Commits](https://medium.com/linkapi-solutions/conventional-commits-pattern-3778d1a1e657) - This helped me for a better understanding about Conventional Commits.\n- [Folder architecture](https://profy.dev/article/react-folder-structure) - This article helped me with some ideas for my project folder architecture.\n  \n## Author\n\n- Frontend Mentor - [@viniciuscosta89](https://www.frontendmentor.io/profile/viniciuscosta89)\n- LinkedIn - [@viniciuscosta89](linkedin.com/in/viniciuscosta89)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviniciuscosta89%2Frest-countries-api-vite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviniciuscosta89%2Frest-countries-api-vite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviniciuscosta89%2Frest-countries-api-vite/lists"}