{"id":19741873,"url":"https://github.com/rafa-kozand/ignite_react.js_challenge_03","last_synced_at":"2026-04-11T09:06:51.828Z","repository":{"id":117404805,"uuid":"495043078","full_name":"Rafa-KozAnd/Ignite_React.js_Challenge_03","owner":"Rafa-KozAnd","description":"React JS challenge done with 'Rocketseat' Ignite course. (\"Desafio: Criando um hook de carrinho de compras\")","archived":false,"fork":false,"pushed_at":"2023-04-24T20:14:34.000Z","size":76,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-10T20:17:12.497Z","etag":null,"topics":["html","html5","ignite","ignite-reactjs","ignite-rocketseat","javascript","reactjs","rocketseat","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/Rafa-KozAnd.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-05-22T11:41:12.000Z","updated_at":"2023-01-12T16:13:35.000Z","dependencies_parsed_at":"2024-05-28T20:04:54.121Z","dependency_job_id":null,"html_url":"https://github.com/Rafa-KozAnd/Ignite_React.js_Challenge_03","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"rocketseat-education/ignite-template-reactjs-criando-um-hook-de-carrinho-de-compras","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rafa-KozAnd%2FIgnite_React.js_Challenge_03","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rafa-KozAnd%2FIgnite_React.js_Challenge_03/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rafa-KozAnd%2FIgnite_React.js_Challenge_03/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rafa-KozAnd%2FIgnite_React.js_Challenge_03/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rafa-KozAnd","download_url":"https://codeload.github.com/Rafa-KozAnd/Ignite_React.js_Challenge_03/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241072426,"owners_count":19904764,"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":["html","html5","ignite","ignite-reactjs","ignite-rocketseat","javascript","reactjs","rocketseat","typescript"],"created_at":"2024-11-12T01:28:15.886Z","updated_at":"2025-11-23T09:04:15.036Z","avatar_url":"https://github.com/Rafa-KozAnd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\r\n  \u003cimg src=\"http://img.shields.io/static/v1?label=STATUS\u0026message=Concluded\u0026color=blue\u0026style=flat\"/\u003e\r\n  \u003cimg alt=\"GitHub language count\" src=\"https://img.shields.io/github/languages/count/Rafa-KozAnd/Ignite_React.js_Challenge_03\"\u003e\r\n  \u003cimg alt=\"GitHub language count\" src=\"https://img.shields.io/github/languages/top/Rafa-KozAnd/Ignite_React.js_Challenge_03\"\u003e\r\n  \u003cimg alt=\"GitHub repo file count\" src=\"https://img.shields.io/github/directory-file-count/Rafa-KozAnd/Ignite_React.js_Challenge_03\"\u003e\r\n  \u003cimg alt=\"GitHub repo size\" src=\"https://img.shields.io/github/repo-size/Rafa-KozAnd/Ignite_React.js_Challenge_03\"\u003e\r\n  \u003cimg alt=\"GitHub language count\" src=\"https://img.shields.io/github/license/Rafa-KozAnd/Ignite_React.js_Challenge_03\"\u003e\r\n\u003c/p\u003e\r\n\r\n# Ignite_React.js_Challenge_03\r\n\r\nReact JS challenge done with 'Rocketseat' Ignite course. (\"Desafio: Criando um hook de carrinho de compras\")\r\n\r\n## 💻 Sobre o desafio\r\n\r\nNesse desafio, você deverá criar uma aplicação para treinar o que aprendeu até agora no ReactJS\r\n\r\nEssa será uma aplicação onde o seu principal objetivo é criar um hook de carrinho de compras. Você terá acesso a duas páginas, um componente e um hook para implementar as funcionalidades pedidas nesse desafio:\r\n\r\n- Adicionar um novo produto ao carrinho;\r\n- Remover um produto do carrinho;\r\n- Alterar a quantidade de um produto no carrinho;\r\n- Cálculo dos preços sub-total e total do carrinho;\r\n- Validação de estoque;\r\n- Exibição de mensagens de erro;\r\n- Entre outros.\r\n\r\n## Getting Started\r\n\r\nFirst, run the development server:\r\n\r\n```bash\r\nnpm run dev\r\n# or\r\nyarn dev\r\n```\r\n\r\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\r\n\r\nYou can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.\r\n\r\n[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.\r\n\r\nThe `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.\r\n\r\n##\r\n\r\n\u003ch1 align=\"center\"\u003e\r\n  \u003cimg src=\"Print/Print.jpg\" width=\"500\" height=\"400\"\u003e    \r\n\u003c/h1\u003e\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafa-kozand%2Fignite_react.js_challenge_03","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafa-kozand%2Fignite_react.js_challenge_03","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafa-kozand%2Fignite_react.js_challenge_03/lists"}