{"id":20533362,"url":"https://github.com/manuelbento19/tanstack-query","last_synced_at":"2026-01-06T11:54:58.014Z","repository":{"id":250302542,"uuid":"834072798","full_name":"manuelbento19/tanstack-query","owner":"manuelbento19","description":"Como utilizar o Tanstack React Query para gerenciamento de dados e cache em aplicações React","archived":false,"fork":false,"pushed_at":"2024-07-30T08:27:46.000Z","size":605,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T12:24:08.706Z","etag":null,"topics":["cache","frontend","react","react-query","tailwindcss","tanstack-react-query","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manuelbento19.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-26T11:05:04.000Z","updated_at":"2024-10-23T11:23:59.000Z","dependencies_parsed_at":"2024-11-16T00:32:24.419Z","dependency_job_id":null,"html_url":"https://github.com/manuelbento19/tanstack-query","commit_stats":null,"previous_names":["manuelbento19/tanstack-query"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelbento19%2Ftanstack-query","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelbento19%2Ftanstack-query/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelbento19%2Ftanstack-query/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelbento19%2Ftanstack-query/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manuelbento19","download_url":"https://codeload.github.com/manuelbento19/tanstack-query/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245641437,"owners_count":20648644,"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","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":["cache","frontend","react","react-query","tailwindcss","tanstack-react-query","typescript"],"created_at":"2024-11-16T00:20:52.227Z","updated_at":"2026-01-06T11:54:57.987Z","avatar_url":"https://github.com/manuelbento19.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  📸📝\u003cbr\u003eTanstack React Query\n\u003c/h1\u003e\n\n\n![Resultado final do projeto](./public/Capa.png)\n\nEste projeto é um exemplo prático de como utilizar o Tanstack React Query para gerenciamento de dados e cache em aplicações React. O React Query facilita o gerenciamento de estados relacionados a dados assíncronos, oferecendo uma API simples para busca, cache e sincronização de dados.\n\n## Descrição\n\nO **TanstackQuery** é uma aplicação React que demonstra as funcionalidades e práticas recomendadas do Tanstack React Query. A aplicação inclui exemplos de:\n\n- **Consultas (Queries):** Como buscar e cachear dados de uma API.\n- **Mutations:** Como criar, atualizar e deletar dados.\n- **Paginação e Infinito Scroll:** Gerenciamento de dados paginados e carregamento infinito.\n\n## Funcionalidades\n\n- **Busca de Dados:** Visualize dados obtidos de uma API de exemplo.\n- **Manipulação de Dados:** Adicione, atualize e exclua itens usando React Query.\n\n## Tecnologias Utilizadas\n\n- [React](https://reactjs.org/)\n- [Tanstack React Query](https://tanstack.com/query)\n- [Axios](https://axios-http.com/) (requisições HTTP)\n- [React Router](https://reactrouter.com/) (navegação)\n- [React Hot Toast](https://react-hot-toast.com/) (Toast Notification)\n- [TailwindCSS](https://tailwindcss.com/) (estilo)\n- [Zod](https://zod.dev/) (Schema validation)\n- [React Hook Form](https://react-hook-form.com/) (Form Library)\n- [Phosphor Icons](https://phosphoricons.com/) (Icons)\n\n## Instalação\n\n1. Clone este repositório:\n   ```bash\n   git clone https://github.com/manuelbento19/tanstack-query.git\n   ```\n\n2. Navegue até o diretório do projeto:\n   ```bash\n   cd tanstack-query\n   ```\n\n3. Instale as dependências:\n   ```bash\n   npm install\n   ```\n\n4. Inicie a aplicação:\n   ```bash\n   npm start\n   ```\n\n5. Acesse a aplicação no seu navegador em [http://localhost:5173](http://localhost:3000).\n\n## Uso\n\nExplore o projeto para entender como o TanstackQuery é integrado e utilizado. As funcionalidades principais estão localizadas em componentes específicos que demonstram as práticas recomendadas para gerenciamento de dados.\n\n## Contribuições\n\nSe você encontrar problemas ou tiver sugestões de melhorias, sinta-se à vontade para abrir uma issue ou enviar um pull request.\n\n## Licença\n\nEste projeto está licenciado sob a [MIT License](LICENSE).\n\u003ch2\u003e👨‍🚀 Autor\u003c/h2\u003e\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://github.com/manuelbento19\"\u003e\n        \u003cimg src=\"https://avatars.githubusercontent.com/u/65732773\" width=\"150px;\" alt=\"Foto do Manuel Bento\"/\u003e\u003cbr\u003e\n        \u003csub\u003e\n          \u003cb\u003eManuel Bento\u003c/b\u003e\n        \u003c/sub\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanuelbento19%2Ftanstack-query","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanuelbento19%2Ftanstack-query","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanuelbento19%2Ftanstack-query/lists"}