{"id":22561901,"url":"https://github.com/firminoweb/react-next-gh-users","last_synced_at":"2026-04-08T18:05:40.753Z","repository":{"id":248552206,"uuid":"829002372","full_name":"firminoweb/react-next-gh-users","owner":"firminoweb","description":"React + Next.js | gh-users","archived":false,"fork":false,"pushed_at":"2024-12-06T14:52:12.000Z","size":181,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T16:49:34.751Z","etag":null,"topics":["commitizen","github","husky","nextjs","react","reactjs","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"","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/firminoweb.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":"2024-07-15T14:56:35.000Z","updated_at":"2024-12-06T14:54:10.000Z","dependencies_parsed_at":"2024-07-15T18:49:51.578Z","dependency_job_id":"d662365e-4337-4adf-bb75-0ba3c5272337","html_url":"https://github.com/firminoweb/react-next-gh-users","commit_stats":null,"previous_names":["firminoweb/teste-casar-com","firminoweb/react-next-gh-users"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/firminoweb/react-next-gh-users","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firminoweb%2Freact-next-gh-users","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firminoweb%2Freact-next-gh-users/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firminoweb%2Freact-next-gh-users/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firminoweb%2Freact-next-gh-users/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firminoweb","download_url":"https://codeload.github.com/firminoweb/react-next-gh-users/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firminoweb%2Freact-next-gh-users/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31567273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","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":["commitizen","github","husky","nextjs","react","reactjs","tailwindcss","typescript"],"created_at":"2024-12-07T22:10:51.156Z","updated_at":"2026-04-08T18:05:40.734Z","avatar_url":"https://github.com/firminoweb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React + Next.js | gh-users\n\nEste é um projeto React + Next.js que permite procurar usuários do GitHub e marcar repositórios como favoritos. Ele utiliza **React**, **TypeScript**, **Next,js**, **TailwindCSS** e várias outras ferramentas modernas para desenvolvimento e testes como o **Husky** e o **Commitizen**.\n\n## Funcionalidades\n- Buscar usuários do GitHub pelo nome ou nome de usuário\n- Exibir repositórios de um usuário específico\n- Marcar e desmarcar repositórios como favoritos\n- Persistência de favoritos utilizando localStorage\n- Interface estilizada com TailwindCSS\n- Testes unitários abrangentes com Jest e Testing Library\n\n## Instalação\n\n### 1. Clone o repositório:\n\n```\ngit clone https://github.com/firminoweb/react-next-gh-users.git\ncd react-next-gh-users\n```\n\n### 2. Instale as dependências:\n\n- Usando npm: `npm install`\n- Usando yarn: `yarn install`\n\n## Configuração do Token do GitHub\n\nPara acessar a API do GitHub, você precisa configurar um token de acesso. Altere o arquivo `configs/index.ts` e adicione o token da seguinte forma:\n\n```\n  // Está assim por padrão para rodar em PROD\n  export const GITHUB_TOKEN = process.env.GITHUB_TOKEN;\n\n  // E para rodar localhost insira o token manualmente\n  export const GITHUB_TOKEN = 'ghp_6luxB........3rjdV0';\n```\n\n## Execução\n\nPara iniciar o projeto, você pode usar os seguintes comandos:\n\n### Ambiente de desenvolvimento:\n\n- Usando NPM: `npm run dev`\n- Usando Yarn: `yarn dev`\n\n### Construir o projeto para produção:\n\n- Usando NPM: `npm run build`\n- Usando Yarn: `yarn build`\n\n### Iniciar o serviço em produção:\n\n- Usando NPM: `npm start`\n- Usando Yarn: `yarn start`\n\n## Testes Unitários\n\nO projeto utiliza Jest para testes unitários. Você pode rodar os testes com cobertura de código utilizando os seguintes comandos:\n\n- Usando NPM: `npm test`\n- Usando Yarn: `yarn test`\n\n## Outros Scripts Úteis\n\n### Linting\n\n- Usando NPM: `npm run lint`\n- Usando Yarn: `yarn lint`\n\n### Formatação de código:\n\n- Usando NPM: `npm run format`\n- Usando Yarn: `yarn format`\n\n### Preparar husky para commits:\n\n- Usando NPM: `npm run prepare`\n- Usando Yarn: `yarn prepare`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirminoweb%2Freact-next-gh-users","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirminoweb%2Freact-next-gh-users","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirminoweb%2Freact-next-gh-users/lists"}