Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

E-Commerce Product Page with Cart Functionality

オープン
#18 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
react, tailwindcss
領域
frontend, web-dev

調査の方向性

まず商品ページのエントリーポイントと既存のスタイリング設定を見つけ、次に FakeStoreAPI または JSON ファイルから商品データを読み込む方法を確認します。商品一覧、フローティングカートプレビュー、数量コントロール、合計金額の計算、localStorage への永続化、商品追加トーストを実装します。完了の条件は、ページを再読み込みしても、一覧に記載されたすべてのカート操作が機能することです。

索引モデルが issue の本文から書いたものです。

説明

Medium React TailwindCSS

Build a dynamic e-commerce product page where users can:

  • View a list of products fetched from a mock API (e.g., FakeStoreAPI or a JSON file).
  • Add products to a cart with a button.
  • Remove products from the cart from both the product listing and cart preview.
  • See a floating cart preview that updates in real-time when items are added or removed.
  • Use localStorage to persist the cart items across page reloads.
  • Quantity Selector: Allow users to increase/decrease item quantity inside the cart.
  • Total Price Calculation: Display the total cost of items in the cart.
  • Toast Notifications: Show a small alert (e.g., "Item added to cart") when a product is added.

Requirements & Technologies
React: Use functional components and hooks (useState, useEffect).
Tailwind CSS: Style the product grid, buttons, and floating cart using Tailwind’s utility classes.
LocalStorage: Store cart data so that users don’t lose their cart on refresh.
Mock API (FakeStoreAPI or JSON file): Fetch product data dynamically instead of hardcoding it.

主要言語
HTML
スター
10
フォーク
77
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CommunityOfCoders/WebGenesis のほかの issue

CommunityOfCoders/WebGenesis の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。