{"id":28207776,"url":"https://github.com/parisaghm/online-store","last_synced_at":"2026-01-25T14:05:31.310Z","repository":{"id":262320867,"uuid":"886880803","full_name":"parisaghm/Online-Store","owner":"parisaghm","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-11T19:36:09.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-10T19:49:55.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/parisaghm.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-11T19:18:47.000Z","updated_at":"2024-11-11T19:36:13.000Z","dependencies_parsed_at":"2024-11-11T20:26:29.058Z","dependency_job_id":"78ab3752-1982-4a97-9e6a-45386b2fd33f","html_url":"https://github.com/parisaghm/Online-Store","commit_stats":null,"previous_names":["parisaghm/online-store"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/parisaghm/Online-Store","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parisaghm%2FOnline-Store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parisaghm%2FOnline-Store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parisaghm%2FOnline-Store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parisaghm%2FOnline-Store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parisaghm","download_url":"https://codeload.github.com/parisaghm/Online-Store/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parisaghm%2FOnline-Store/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28754145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T13:59:49.818Z","status":"ssl_error","status_checked_at":"2026-01-25T13:59:33.728Z","response_time":113,"last_error":"SSL_read: 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":[],"created_at":"2025-05-17T13:12:42.029Z","updated_at":"2026-01-25T14:05:31.300Z","avatar_url":"https://github.com/parisaghm.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue 3 Online Store\n\nAn online store built with Vue 3 that allows users to browse products, add them to a cart, and view their total amount. The app features a simple and responsive layout, with easy-to-use components for an intuitive shopping experience.\n\n![567](https://github.com/user-attachments/assets/b3ef54a1-2d09-4960-a659-14ada6522e76)\n\n\n## Features\n- Product Listing: Browse a variety of products with their names, prices, and images.\n- Add to Cart: Easily add products to the cart, with quantities automatically adjusted for duplicate items.\n- Cart Management: View cart items, remove items, and see the total price of items in the cart.\n- Responsive Design: The layout adjusts for various screen sizes, making it mobile-friendly.\n\n## Technologies Used\n- Vue 3: For building reactive components.\n- CSS \u0026 TailwindCSS: Styling the UI with a combination of custom CSS and utility-first TailwindCSS.\n- Material Icons: Used for shopping cart, delete, and close icons.\n\n## Components Overview\n- App.vue: Main component managing the layout, data, and communication between child components.\n- ProductList.vue: Displays the list of products and emits events when a product is added to the cart.\n- CartList.vue: Manages and displays items in the cart, including total calculations and removal of items.\n\n## Project Structure\n```\nbash\n.\n├── public                # Static assets (e.g., images)\n├── src\n│   ├── assets            # Application-specific assets\n│   ├── components        # Vue components (ProductList, CartList)\n│   ├── App.vue           # Main app component\n│   ├── main.js           # Entry point for Vue app\n├── package.json          # Project metadata and dependencies\n└── README.md             # Project documentation\n```\n\n## Component Details\n- App.vue: Contains the main layout, including the header and the dynamic cart view. Manages the cart state, including visibility, adding/removing items, and calculating totals.\n- ProductList.vue: Displays each product with an \"Add to Cart\" button. Emits an event to the parent when a product is added.\n- CartList.vue: Shows the items in the cart, their quantity, and total cost. Provides functionality to remove items from the cart.\n\n## Installation\n\n1. Clone the repository:\n ```\ngit clone https://github.com/your-username/vue-online-store.git\ncd vue-online-store\n```\n2.Install dependencies:\n\n```\nnpm install\n```\n\n3.Run the app:\n```\nnpm run serve\n```\n\nThe app will be available at http://localhost:8080.\n\n### Usage\n\n1. Browse Products: Scroll through the product listings and click the shopping bag icon to add items to your cart.\n2. View Cart: Click the shopping bag icon in the header to open your cart and view all added items.\n3. Remove Items: Use the delete icon next to an item in the cart to remove it.\n4. View Total: The cart displays a running total based on items and their quantities.\n\n### Customization\n- Products: Modify the products array in App.vue to add, remove, or change the available products.\n- Styling: Update colors, layout, and fonts in the CSS or Tailwind classes to match your desired design.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparisaghm%2Fonline-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparisaghm%2Fonline-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparisaghm%2Fonline-store/lists"}