This is an e-commerce web application for an online gadget store. Users can explore a catalog of products, view detailed product pages, add products to their cart and favorites, and proceed with checkout. The app features smooth interactions, responsive design, and user-friendly navigation.
- React: For building the user interface.
- Redux: For state management, including cart and favorites functionality.
- CSS Modules: For component-level styling.
- React Router: For navigation and routing.
- LocalStorage: To persist cart and favorites data across page reloads.
- TypeScript: This is for type safety and a better development experience.
You can view the live demo of the project at GitHub Pages.
The design of the application is based on the following mockups: Link to Mockup.
src/components/: Contains reusable components for UI elements.src/modules/: Includes individual page modules (HomePage, CartPage, etc.) and shared content.src/assets/: Contains images used throughout the application.
To run this project locally, follow these steps:
- Node.js: Please make sure you have Node.js installed. This project is tested with Node.js v20. You can download it from Node.js official website.
-
Clone the Repository:
git clone https://github.com/yourusername/gadgets-catalog.git cd gadgets-catalog -
Install Dependencies:
npm install
-
To create a production build:
npm run build
-
Run the Vite preview (for local development)::
npm run start
-
Open your browser and visit the local server to see the app running.