ShopSpy is an eCommerce project developed using React Vite. It allows users to browse and shop for various products. The project utilizes the useContext
hook for managing the shopping cart, Axios for fetching data from an external source, and local storage to store user preferences, including the dark mode setting.
- Browse a wide range of products.
- Add products to the shopping cart.
- View and edit the shopping cart.
- Toggle dark mode for a personalized experience.
- React Vite: A fast development environment for React applications.
- React Context API: Utilized the
useContext
hook for state management, specifically for the shopping cart. - Axios: Used to make HTTP requests for fetching product data from an external source.
- Local Storage: Employed local storage to store user preferences, such as dark mode settings. ##Live Link https://653640a8e7d3242627546284--sparkly-sprite-994fea.netlify.app/
To get this project up and running on your local machine, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/shopspy.git cd shopspy