This is a simple e-commerce app built using React and React-Bootstrap. It features a shopping cart system where users can view, manage items, and place an order. The cart also includes coupon discounts, platform fees, and shipping charges.
- Cart Management:
- View cart items with item name, quantity, price, and image.
- Remove items from the cart.
- Price Calculation:
- Subtotal of all cart items.
- Coupon Discount applied to the total amount.
- Platform Fee and Shipping Charges added to the final amount.
- Order Placement:
- Place an order with a "Place Order" button.
- A popup appears confirming that the order has been successfully placed.
- React: For building the UI.
- React-Bootstrap: For styling and responsive components.
- Vite: For a fast development build.
- Bootstrap CSS: For additional styling.
-
Clone the repository:
git clone https://github.com/your-username/ecommerce-app.git
-
Navigate to the project directory:
cd ecommerce-app
-
Install the dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and go to
http://localhost:5173
to view the app.