This is a fully functional React e-commerce application built using React v17.0.2, Bootstrap, and Stripe payment integration.
It includes login, cart functionality, product zoom and navigation, and checkout — all powered by a static data.json
file.
- Login Page – Simple login (no backend, just mock authentication)
- Protected Routes – Only accessible after login
- Product Listing Page – Displays products from
data.json
- Product Details Page
- Image zoom on hover
- Next/Previous product navigation
- "Add to Cart" functionality
- "Similar Products" section at the bottom
- View products added to cart
- Update quantity
- Remove items
- Cart total calculation
- Stripe payment integration
- Mock order summary
- Success Page shown after payment
- All pages styled using Bootstrap
- Additional custom CSS for specific components
bash
git clone path
cd project_folder_name
npm install
npm start
Visit: http://localhost:3000
- Stripe integrated via @stripe/react-stripe-js and @stripe/stripe-js
- You must replace the Stripe publishable key in the code with your own.
- No database or backend — all product data is loaded from data.json
- Login is just mock logic for demo purposes (no real auth)
This project is for educational/demo purposes. Thanks for checking it out!