This project demonstrates the use of Redux for state management in a React application. It includes features such as a product store, cart functionality, and a to-do list, showcasing both synchronous and asynchronous state management techniques.
- Product Store: Fetch and display products from an API with search functionality.
- Cart Management: Add, remove, and manage product quantities in a shopping cart.
- To-Do List: Add, update, and remove tasks in the ToDoList component.
- Authentication: Includes Sign In and Sign Up components.
- Error Handling: Graceful error handling for API calls.
- React
- Redux Toolkit
- React Router
- Tailwind CSS
- Axios
- React Toastify
src/
components/ # Reusable UI components
pages/ # Page-level components
redux/ # Redux slices and store configuration
App.jsx # Main application component
main.jsx # Application entry point
- Node.js (v16 or later)
- npm or yarn
- Clone the repository:
git clone <repository-url>
- Navigate to the project directory:
cd redux - Install dependencies:
npm install
- Development Mode:
npm run dev
- Build for Production:
npm run build
- Preview Production Build:
npm run preview
- components: Contains reusable components like Navbar, ProductCard, etc.
- pages: Includes page-level components like Home, Cart, and ToDoList.
- redux: Contains Redux slices and store configuration.
- App.jsx: Main application component with routing setup.
- main.jsx: Entry point of the application.
This project is licensed under the MIT License.