project-root/
├── node_modules/
├── src/
│ ├── components/
│ │ ├── BreadcrumbsNav.jsx
│ │ ├── Home.jsx
│ │ ├── index.jsx
│ │ ├── ProductCard.jsx
│ │ ├── ProductDetails.jsx
│ │ ├── ProductFilters.jsx
│ │ ├── ProductImage.jsx
│ │ ├── ProductList.jsx
│ │ └── useProductData.js
│ ├── data/
│ │ └── productsList.js
│ ├── utils/
│ │ ├── api.js
│ │ └── utils.js
│ ├── App.css
│ ├── App.jsx
│ └── main.jsx
├── .env
├── .env.example
├── .gitignore
├── eslint.config.js
├── index.html
├── package.json
├── package-lock.json
├── README.md
└── vite.config.js
-
Clone the repository:
git clone https://github.com/your-username/product-listing-app.git cd product-listing-app -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open http://localhost:5173 to view it in the browser.
Use the .env.example file to set up your environment variables. Create a .env file in the root of the project: cp .env.example .env Then, update the values as needed.