{"id":22505849,"url":"https://github.com/abdulmazidakash/assignment-8","last_synced_at":"2026-04-20T10:31:55.473Z","repository":{"id":264744135,"uuid":"893999882","full_name":"abdulmazidakash/assignment-8","owner":"abdulmazidakash","description":"GadgetHeaven is an e-commerce platform where users can explore, add to cart, and manage their favorite gadgets. This project demonstrates fundamental web development and React skills.","archived":false,"fork":false,"pushed_at":"2024-11-26T04:02:00.000Z","size":341,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T23:30:38.286Z","etag":null,"topics":["localstorage","react","useeffect","usestate"],"latest_commit_sha":null,"homepage":"https://gadget-heaven-akash.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/abdulmazidakash.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-11-25T15:19:02.000Z","updated_at":"2025-03-06T19:15:37.000Z","dependencies_parsed_at":"2024-11-26T05:18:49.862Z","dependency_job_id":"d1ab8e00-a925-4be6-ae5a-c7fafe65b0c3","html_url":"https://github.com/abdulmazidakash/assignment-8","commit_stats":null,"previous_names":["abdulmazidakash/assignment-8"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abdulmazidakash/assignment-8","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdulmazidakash%2Fassignment-8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdulmazidakash%2Fassignment-8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdulmazidakash%2Fassignment-8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdulmazidakash%2Fassignment-8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdulmazidakash","download_url":"https://codeload.github.com/abdulmazidakash/assignment-8/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdulmazidakash%2Fassignment-8/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32042987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["localstorage","react","useeffect","usestate"],"created_at":"2024-12-07T00:35:22.889Z","updated_at":"2026-04-20T10:31:55.454Z","avatar_url":"https://github.com/abdulmazidakash.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- # React + Vite\n\nThis template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.\n\nCurrently, two official plugins are available:\n\n- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh\n- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh --\u003e\n\n# GadgetHeaven ✨\n\n**GadgetHeaven** is an e-commerce platform where users can explore, add to cart, and manage their favorite gadgets. This project demonstrates fundamental web development and React skills.\n\n## Live Website Link\nhttps://gadget-heaven-akash.netlify.app/  \n\n\n## Requirement Document Link\nhttps://github.com/ProgrammingHero1/B10-A8-gadget-heaven/blob/main/Batch-10_Assignment-08.pdf\n\n---\n\n## List of React Fundamental concepts used in the project\n\n- Component-based architecture: Used for structuring UI with reusable components like AddToCard and AddToWishList.\n- useState hook: For managing state such as cart items and wishlist.\n- useEffect hook: For handling side effects like fetching data and updating the document title.\n- Conditional rendering: Displaying Cart or Wishlist based on the active state.\n- LocalStorage integration: Managing data persistence for cart and wishlist.\n\n---\n## What you have used for handling and managing data (context API/local storage)\n\nI using localStorage to store and retrieve data on the client-side. This is useful for persisting the cart and wishlist data even after the page is refreshed. Specifically:\n\n- Data Persistence: Uses localStorage to save and retrieve cart and wishlist data.\n- Cart Management: Adds items to the cart and checks for duplicates before updating localStorage.\n- Wishlist Management: Similar to cart management, but also updates the wishlist count via setWishCount if passed.\n- User Feedback: Utilizes react-hot-toast for success and error notifications when adding items to the cart or wishlist.\n- State Management: React state (setWishCount) is used to update the wishlist count dynamically.\n\n---\n## 5 features of your website/project\n\n- Structured Navigation Bar\n- Product Categories Sidebar\n- Add to Cart and Wishlist Functionality\n- Dynamic Product Details Page\n- Sorting and Filtering Options\n\n\u003cimg src='https://i.ibb.co.com/QMTHVnD/Gadget-Heaven.png' /\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdulmazidakash%2Fassignment-8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdulmazidakash%2Fassignment-8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdulmazidakash%2Fassignment-8/lists"}