{"id":19226948,"url":"https://github.com/7gowtham/cartpage-redux","last_synced_at":"2026-06-15T06:02:12.925Z","repository":{"id":245592695,"uuid":"818699613","full_name":"7Gowtham/CartPage-Redux","owner":"7Gowtham","description":"To create a cart page utilizing React Redux to manage per-item price, quantity, total quantity, and total amount","archived":false,"fork":false,"pushed_at":"2024-06-22T16:38:01.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-04T21:48:28.952Z","etag":null,"topics":["react-redux","slice","store","usedispatch","useeffect","useselector"],"latest_commit_sha":null,"homepage":"https://cartpage-redux.netlify.app/","language":"JavaScript","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/7Gowtham.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-06-22T15:46:19.000Z","updated_at":"2024-06-22T16:40:41.000Z","dependencies_parsed_at":"2024-06-22T23:42:20.169Z","dependency_job_id":"e3f869a3-ecdd-415f-a71e-c49bfadee87e","html_url":"https://github.com/7Gowtham/CartPage-Redux","commit_stats":null,"previous_names":["7gowtham/cartpage-redux"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Gowtham%2FCartPage-Redux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Gowtham%2FCartPage-Redux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Gowtham%2FCartPage-Redux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Gowtham%2FCartPage-Redux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7Gowtham","download_url":"https://codeload.github.com/7Gowtham/CartPage-Redux/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240300310,"owners_count":19779607,"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":["react-redux","slice","store","usedispatch","useeffect","useselector"],"created_at":"2024-11-09T15:21:05.900Z","updated_at":"2026-06-15T06:02:07.885Z","avatar_url":"https://github.com/7Gowtham.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CartPage - Redux\n\n## Contents\n- [Description](#description)\n- [Features](#features)\n- [Functionalities Used](#functionalities-used)\n\n### Description\nThis project demonstrates how to create a cart page utilizing React Redux to manage per-item price, quantity, total quantity, and total amount\n\n### Features\n1. Displays images of the mobiles and their details.\n2. Includes a dropdown to select product quantity, with price shown for a single product.\n3. Has a \"Remove\" button to delete a product.\n4. Shows Subtotal, Total Quantity, and Total Price of selected products.\n\n### Functionalities Used\n1. Utilized `React Redux` for functionality.\n2. In Redux, a `store` and a `slice` are created.\n3. The slice contains `initialState`, `name`, and `reducers`.\n4. Reducers contain actions. In this project, the actions `setQuantity`, `deleteProduct`, `setTotals` are defined.\n5. Utilized `useSelector` to extract data from the Redux store state.\n6. Utilized `useDispatch` to create functions that dispatch actions.\n7. Utilized `useEffect` to manage quantity and total amount calculations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7gowtham%2Fcartpage-redux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7gowtham%2Fcartpage-redux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7gowtham%2Fcartpage-redux/lists"}