This project is designed to replicate the functionality and design of a 3-page e-commerce website using Vue.js and TypeScript. It includes a cart system, product listing, detailed product page, and responsiveness based on a provided Figma design.
- Responsive Design: Implemented based on a Figma design.
- Pagination: Products are loaded in a paginated format with a "View More" button.
- Cart System: Add, remove, increment, and decrement items in the cart.
- API Integration: Products and categories are fetched from the Fake Store API.
- Pinia State Management: Used for managing cart counter and cart items.
- Vue.js: Framework for building the website structure.
- TypeScript: Enhances code readability and provides type safety.
- Bootstrap: Used for styling and responsiveness.
- Pinia: State management for cart functionality.
- Fetch API: Used to fetch data from the Fake Store API.
- Displays a list of products fetched from the Fake Store API with pagination.
- Features an “Add to Cart” button for each product.
- Browse My Dress Style" section that displays categories fetched from the API.
- Displays detailed information about a selected product.
- Includes an “Add to Cart” button.
- Displays all items added to the cart.
- Allows users to increment, decrement, or remove items from the cart.
- Cart updates are synced with the Fake Store API and local storage.
-
Clone the repository:
git clone https://github.com/hanysaadeldeen/E-commerce-Using-Vue.git
-
Install the dependencies:
npm install