{"id":21698073,"url":"https://github.com/abujaforhadi/bdgadget","last_synced_at":"2026-05-10T14:44:33.329Z","repository":{"id":263117790,"uuid":"889401425","full_name":"abujaforhadi/BDGadget","owner":"abujaforhadi","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-23T13:29:22.000Z","size":368,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T14:26:33.882Z","etag":null,"topics":["custom","dasiyui","gadgets","hooks-api-react","rest-api"],"latest_commit_sha":null,"homepage":"https://bdgadget.abujafor.me/","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/abujaforhadi.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-16T09:31:10.000Z","updated_at":"2024-11-23T13:29:25.000Z","dependencies_parsed_at":"2025-01-25T14:35:50.718Z","dependency_job_id":null,"html_url":"https://github.com/abujaforhadi/BDGadget","commit_stats":null,"previous_names":["abujaforhadi/bdgadget"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abujaforhadi%2FBDGadget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abujaforhadi%2FBDGadget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abujaforhadi%2FBDGadget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abujaforhadi%2FBDGadget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abujaforhadi","download_url":"https://codeload.github.com/abujaforhadi/BDGadget/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244637102,"owners_count":20485446,"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":["custom","dasiyui","gadgets","hooks-api-react","rest-api"],"created_at":"2024-11-25T19:31:18.945Z","updated_at":"2026-05-10T14:44:28.305Z","avatar_url":"https://github.com/abujaforhadi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BDGadget✨\n\n**Live Website**: [BDGadget](https://bdgadget.netlify.app/)  \n## Additional Information\n**Requirement Document**: [Requirement Document.pdf](https://github.com/user-attachments/files/17644009/Requirement.Document.pdf)\n\n\n---\n\n## Table of Contents\n- [Project Description](#project-description)\n- [Features](#features)\n- [React Concepts](#react-concepts)\n- [Data Management](#data-management)\n- [Installation \u0026 Setup](#installation--setup)\n- [Additional Information](#additional-information)\n\n---\n\n## Project Description\n**BDGadget ** is a responsive e-commerce platform for gadget enthusiasts. The platform includes features like structured navigation, product categories, detailed product pages, a shopping cart, and a wishlist. Built on a detailed Figma design, **BDGadget** offers a smooth, interactive shopping experience with Context API and LocalStorage for efficient state and data management.\n\n---\n\n## Features\n1. **Dynamic Product Categories**: Filter gadgets by categories with a sidebar for seamless navigation.\n2. **Product Details Page**: Detailed product information page with add-to-cart and add-to-wishlist options.\n3. **Shopping Cart**: Tracks selected items with total cost calculation and a \"Sort by Price\" option.\n4. **Wishlist**: Allows users to save items and prevents duplicate entries.\n5. **Toast Notifications**: Provides feedback when items are added to the cart or wishlist.\n\n---\n\n## React Concepts\n- **Components**: Reusable sections for Navbar, Footer, Product Cards, etc.\n- **Props**: Data passed to components like Product Cards and Details Page.\n- **State Management**: Manages local UI states for features like wishlist and cart.\n- **Hooks**:\n  - `useState` - Local state handling.\n  - `useEffect` - Data fetching and state updates.\n  - `useContext` - Access to cart and wishlist data.\n  - `useNavigate` - Internal routing without page reloads.\n  - `useLocation` - Conditional styling based on page.\n- **React Router**: Routing for pages like Home, Dashboard, and Details.\n- **Error Handling**: Custom 404 page for invalid routes.\n\n---\n\n## Data Management\n- **Context API**: Centralized management for cart and wishlist states across the app.\n- **LocalStorage**: Persists cart and wishlist data to avoid data loss on reload.\n\n---\n\n## Installation \u0026 Setup\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/abujaforhadi/BDGadget.git\n\n\n\n\n\n\n\n\n\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/29285403-a6f3-4ecc-a1a5-b12482a4fb85/deploy-status)](https://app.netlify.com/sites/bdgadget/deploys)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabujaforhadi%2Fbdgadget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabujaforhadi%2Fbdgadget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabujaforhadi%2Fbdgadget/lists"}