An interactive and responsive e-commerce web application that allows users to browse products, view product details, add items to the cart, and proceed to purchase. Built using modern web technologies to ensure a seamless user experience.
You can view the deployed version of the project at: Live Demo
- Dynamic Product Listing: Products are fetched from the Fake Store API.
- Product Details Page: Detailed view of individual products.
- Cart Functionality:
- Add to Cart.
- Remove from Cart.
- View total items and price.
- Clear Cart option.
- Responsive Design: Optimized for mobile and desktop views.
- Theming: Navy & Gold premium theme.
- Loading State Management: Shows a loading spinner while fetching data.
-
Frontend:
- React
- React Router
- Redux Toolkit (for state management)
- React-Bootstrap (for UI components)
- Axios (for API calls)
-
Styling:
- Bootstrap
- Custom CSS
-
Clone the repository:
git clone https://github.com/your-username/ecommerce-web-app.git
-
Navigate to the project directory:
cd ecommerce-web-app
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to:
http://localhost:5173
src
├── assets # Static assets like images and icons
├── components # Reusable UI components
├── features # Redux slices
├── layout # Layout components
├── pages # Pages (Home, Product Details, etc.)
├── routes # React Router configurations
├── App.css # Global styles
├── App.jsx # Main application component
└── main.jsx # Entry point
- Fake Store API
GET /products
- Fetch all productsGET /products/:id
- Fetch a specific product
- Add user authentication and authorization.
- Integrate a real payment gateway (e.g., Stripe, PayPal).
- Implement product search and filter functionality.
- Add wish list functionality.
This project is licensed under the MIT License. See the LICENSE file for details.
- Fake Store API for providing the product data.
- React-Bootstrap for elegant UI components.
- #Ecommerce
- #React
- #Redux
- #Bootstrap
- #ResponsiveDesign
- #APIIntegration
- #JavaScript
- #WebDevelopment
- #MERNStack
- #FakeStore
- #FrontendDevelopment
- #ReactBootstrap
- #OnlineStore
- #DynamicComponents
- #CartFunctionality