Welcome to the React Product Page project! This is a simple and responsive product listing website built using React, integrating a dummy JSON API for product data. The application includes key features like product search, filtering, a detailed product page, and a basic cart system.
Check out the live demo here: React Product Page
- Product Listing: Fetches products using a dummy JSON API.
- Search Functionality: Easily search for products by name.
- Product Detail Page: View detailed information about each product.
- Cart System: Add and remove products from your cart.
- Filtering by Categories: Filter products based on categories.
- Responsive Design: Fully responsive for mobile and desktop views.
- React: A JavaScript library for building user interfaces.
- Redux: For managing global state (e.g., cart system and product filtering).
- Axios: For fetching data from the API.
- Tailwind CSS: Utility-first CSS framework for rapid UI development.
- React Router: For navigation between different pages (product listing, product detail, cart, etc.).
To run this project locally:
- Clone the repository:
git clone https://github.com/Aayush0966/React-Product-Page.git
- Navigate to the project directory:
cd react-product-page - Install dependencies:
npm install
- Run the app:
npm start
The app will start locally at http://localhost:3000.
- The app fetches products from a dummy JSON API and displays them in a list format.
- Users can search for products using the search bar, filter by categories, and click on individual products to view more details.
- The cart system allows users to add/remove items and view their cart contents.
- Global state is managed using Redux, and Tailwind CSS is used for styling the application.