This is a React-based eCommerce application that allows users to browse products, add items to their cart, and proceed to checkout. The application includes features such as product search, user authentication, and order management.
- Browse products by category
- Search for products
- Add products to the cart
- View and manage the cart
- User authentication (login/logout)
- View order history
- React
- React Router
- Context API
- Tailwind CSS
- React Toastify
- Node.js (v14 or higher)
- npm or yarn
GitHub Copilot Sure, here's a basic README for your eCommerce application:
Install dependencies:
Start the development server:
The application will be available at http://localhost:3000.
includes navigation links to different pages, a search icon that toggles the search bar, and user profile and cart icons.
SearchBar The SearchBar component allows users to search for products. When the search icon in the Navbar is clicked, it toggles the visibility of the search bar and navigates to the Collection page.
ShopContext The ShopContext provides global state management for the application, including the cart items, search state, and user authentication status.
Contributing Contributions are welcome! Please open an issue or submit a pull request for any changes or improvements
For any questions or suggestions, feel free to open an issue or contact me directly through email