{"id":24367112,"url":"https://github.com/codeslator/react-shopping-cart-app","last_synced_at":"2026-02-17T15:01:47.849Z","repository":{"id":259990517,"uuid":"879995753","full_name":"codeslator/react-shopping-cart-app","owner":"codeslator","description":"ShoppingCartApp from Juan Pablo de la Torre React + TypeScript Course. This app was created with Vite + React 18 + TypeScript using Chakra UI to create UI and testing with Vitest + React Testing Library.","archived":false,"fork":false,"pushed_at":"2025-03-30T03:08:55.000Z","size":109,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"devel","last_synced_at":"2025-10-08T16:26:38.504Z","etag":null,"topics":["chakra-ui","react","supabase","typescript","wouter","zustand"],"latest_commit_sha":null,"homepage":"https://codeslator-react-shopping-cart-app.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/codeslator.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-28T23:30:03.000Z","updated_at":"2025-03-30T03:22:54.000Z","dependencies_parsed_at":"2024-10-29T00:26:08.370Z","dependency_job_id":"e945c61c-7422-4914-96a6-8ad5c4aff723","html_url":"https://github.com/codeslator/react-shopping-cart-app","commit_stats":null,"previous_names":["codeslator/react-shopping-cart"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeslator/react-shopping-cart-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeslator%2Freact-shopping-cart-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeslator%2Freact-shopping-cart-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeslator%2Freact-shopping-cart-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeslator%2Freact-shopping-cart-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeslator","download_url":"https://codeload.github.com/codeslator/react-shopping-cart-app/tar.gz/refs/heads/devel","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeslator%2Freact-shopping-cart-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29548201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T14:33:00.708Z","status":"ssl_error","status_checked_at":"2026-02-17T14:32:58.657Z","response_time":100,"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":["chakra-ui","react","supabase","typescript","wouter","zustand"],"created_at":"2025-01-19T01:13:54.597Z","updated_at":"2026-02-17T15:01:47.824Z","avatar_url":"https://github.com/codeslator.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚛️ Shopping Cart App - React\n\nManage the guitar shopping cart and buy all that you want. This app was created with **Vite** + **React 18** + **TypeScript** using **Chakra UI** to create UI and testing with **Vitest + React Testing Library**.\n\nExample from **React + TypeScript** course by **Juan Pablo de la Torre**.\n\n**Demo**: \n\n### 🚀 About:\n\n- Created with **React 18** + **Vite** + **TypeScript**.\n- Routing with **Wouter**.\n- Use **Chakra UI** to create layout.\n- State management with **Zustand**.\n- Data fetching with **Axios**.\n- Data stored in **Supabase**.\n- Testing with **Vitest** and **React Testing Library**\n- Deployed in **Vercel**.\n\n### ✅ Features:\n\n- Select a Guitar and click in \"Add to Cart\" button.\n- Open the Shopping Cart in the navbar.\n- You can increment o decrement the item quantity in the \"+\" or \"-\" icon buttons.\n- You can remove a specific item from the cart in the item \"Trash\" icon button.\n- You can remove all items from the cart in the \"Remove all\" button.\n- You can navigate to checkout page.\n- Login page, register page \u0026 checkout page are just layouts.\n\n### 📋 Requirements\n\nTo run this app, you must have installed Node 18 or major \u0026 NPM.\n\n### ⚙️ Installation\n\nThis README has the instructions to install and execute this webapp. The first step is clone the repository from GitHub.\n```\nhttps://github.com/codeslator/react-shopping-cart-app.git\n```\n\nAfter clone the repository, you must to install all dependencies.\n\n```\ncd react-shopping-cart-app\nnpm install\n```\n\nWhen dependencies are installed, before run the webapp in local, make sure you have the .env file in the repository with the following variables:\n```\nVITE_SUPABASE_API_URL='your supabase api url here'\nVITE_SUPABASE_API_KEY='your apikey url here'\n```\n\nFinally, you can execute the Vite App using the following command:\n```\nnpm run dev\n```\nIf application started correctly, will be listen in 5173 port. Open in your Browser the following URL: http://localhost:5173/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeslator%2Freact-shopping-cart-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeslator%2Freact-shopping-cart-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeslator%2Freact-shopping-cart-app/lists"}