Welcome to e-plantShopping, a React-based shopping cart application built as part of the Developing Front-End Apps with React course. This project showcases key React concepts such as component-based architecture, state management, Redux, and dynamic UI updates.
- Beautiful background image
- Brief introduction about the nursery
- "Get Started" button leading to the product listing page
- Displays at least six houseplants, categorized into three or more groups
- Each product includes:
- 🌱 Thumbnail image
- 🌱 Plant name
- 🌱 Price
- 🌱 "Add to Cart" button
- Header with:
- Shopping cart icon displaying total items
- Navigation links
- Shows added products with:
- 🌱 Product name & thumbnail
- 🌱 Unit price & total cost
- 🌱 Quantity adjustment buttons (+ / -)
- 🌱 Delete button to remove items
- Displays total items & cost
- "Continue Shopping" and "Checkout" buttons
- React - Component-based UI
- Redux - State management
- React Hooks - useState, useEffect for dynamic updates
- React Router - Navigation between pages
- CSS Modules - Styling components
e-plantShopping/
├── public/
│ └── vite.svg
├── src/
│ ├── assets/
│ ├── AboutUs.css
│ ├── AboutUs.jsx
│ ├── App.css
│ ├── App.jsx
│ ├── CartItem.css
│ ├── CartItem.jsx
│ ├── CreateSlice.jsx
│ ├── ProductList.css
│ ├── ProductList.jsx
│ ├── index.css
│ ├── main.jsx
│ ├── store.js
├── .eslintrc.cjs
├── .gitignore
├── LICENSE
├── README.md
├── index.html
├── package-lock.json
├── package.json
└── vite.config.js
- Clone the repository:
git clone https://github.com/4Min4m/e-plantShopping.git cd e-plantShopping
- Install dependencies:
npm install
- Start the development server:
npm start
- Open in browser:
- Visit
http://localhost:3000
- Visit
[Click here to explore the live version] https://github.com/4Min4m/e-plantShopping
- 🌱 Add product filtering & search
- 🌱 Implement a backend with a database
- 🌱 Enhance UI/UX with animations
- 🌱 Add authentication for user accounts
Contributions are welcome! Feel free to fork the repo, make improvements, and submit a pull request.
This project is open-source and available under the MIT License.
- 🔗 [LinkedIn] : https://www.linkedin.com/in/mohammad-amin-amini/
- 💻 [GitHub] : https://github.com/4Min4m
Happy coding! 🚀