{"id":22344288,"url":"https://github.com/kauecdev/coffee-delivery","last_synced_at":"2026-04-12T18:04:23.674Z","repository":{"id":240411233,"uuid":"802555710","full_name":"kauecdev/coffee-delivery","owner":"kauecdev","description":"Coffee Delivery - Desafio 02 React - Rocketseat","archived":false,"fork":false,"pushed_at":"2024-06-16T23:39:19.000Z","size":2510,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T11:30:10.504Z","etag":null,"topics":["context-api","react","react-hook-form","styled-components","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/kauecdev.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-05-18T16:17:40.000Z","updated_at":"2024-07-01T15:01:21.000Z","dependencies_parsed_at":"2024-12-04T09:19:33.991Z","dependency_job_id":null,"html_url":"https://github.com/kauecdev/coffee-delivery","commit_stats":null,"previous_names":["kauecdev/coffee-delivery-react-ts","kauecdev/coffee-delivery"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kauecdev%2Fcoffee-delivery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kauecdev%2Fcoffee-delivery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kauecdev%2Fcoffee-delivery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kauecdev%2Fcoffee-delivery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kauecdev","download_url":"https://codeload.github.com/kauecdev/coffee-delivery/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245632425,"owners_count":20647193,"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":["context-api","react","react-hook-form","styled-components","typescript"],"created_at":"2024-12-04T09:09:38.946Z","updated_at":"2026-04-12T18:04:18.634Z","avatar_url":"https://github.com/kauecdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coffee Delivery\n## Desafio 02 - Trilha de React - Rocketseat\n\n## Sobre o projeto:\n\nUma aplicação para gerenciar um carrinho de compras de uma cafeteria fictícia onde o usuário poderá visualizar um catálogo com várias opções de café, adicioná-los ao carrinho e \"efetuar\" a compra preenchendo um formulário para o endereço de entrega e método de pagamento. O design foi desenvolvido pela própria Rocketseat e disponibilizado através de um link do Figma.\n\n## Tecnologias usadas:\n\n- React\n- Typescript\n- Styled Components\n- Phosphor Icons\n- Context API\n- Immer\n- React Router\n- React Hook Form\n- React Hot Toast\n- Zod\n\n## Indo além:\n\nComo recurso extra além dos requisitos do desafio resolvi adicionar também um toast informativo para indicar erros na aplicação, como o formulário preenchido de forma incorreto ou o usuário tentando confirmar compra com o carrinho vazio. Além disso, também adicionei a funcionalidade de exibir bordas vermelhas para indicar qual campo do formulário está preenchido incorretamente.\n\n## DIY\n\nOBS: Para executar a aplicação na sua máquina você irá precisar ter instalado o node.\n\n1. Baixe ou clone o projeto.\n2. Instale as dependências usando o comando `npm install` ou `npm i` no diretório do projeto.\n3. Use o comando `npm run dev` para inicar a aplicação.\n\n## Screenshots\n\n![image](https://github.com/kauecdev/coffee-delivery-react-ts/assets/61801350/4b898246-2233-4f65-b240-8d412ac4d37a)\n![image](https://github.com/kauecdev/coffee-delivery-react-ts/assets/61801350/1244cfb9-90df-4f72-9e85-cf7c2147a0bc)\n![image](https://github.com/kauecdev/coffee-delivery-react-ts/assets/61801350/17ae4062-41ee-44fa-8da7-811981c8f8e1)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkauecdev%2Fcoffee-delivery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkauecdev%2Fcoffee-delivery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkauecdev%2Fcoffee-delivery/lists"}