Skip to content

This is an E-commerce website built using Vite and Vanilla JavaScript. The application features a responsive design, cart functionality, and a custom API for fetching product details. It is deployed on Vercel and includes user-friendly features such as adding/removing products from the cart and adjusting product quantities.

Notifications You must be signed in to change notification settings

shamshir-hussain/ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-commerce Website

Overview

This is an E-commerce website built using Vite and Vanilla JavaScript. The application features a responsive design, cart functionality, and a custom API for fetching product details. It is deployed on Vercel and includes user-friendly features such as adding/removing products from the cart and adjusting product quantities.

Features

  • Responsive Design: The website adapts to various screen sizes for an optimal user experience.

  • Cart Functionality:

    • Add to Cart: Users can add products to their shopping cart.
    • Remove from Cart: Users can remove products from their cart.
    • Increment/Decrement Count: Users can adjust the quantity of each product in the cart.
  • Custom API: The application uses a custom API to fetch product details dynamically.

  • Toast Notifications: The website provides toast notifications for actions like adding or removing items from the cart, enhancing user experience.

Technologies Used

  • HTML5
  • CSS3
  • JavaScript (Vanilla)
  • Vite: A build tool that enhances development speed with features like Hot Module Replacement (HMR).
  • Vercel: For deployment.

Installation

To set up the project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/shamshir-hussain/ecommerce.git
    cd ecommerce
  2. Install dependencies:

    npm install
  3. Run the development server:

    npm run dev
  4. Open your browser and navigate to http://localhost:5173/ to view the application.

Usage

  • Navigate through the product listings.
  • Click on a product to view details and add it to your cart.
  • Use the cart icon to access your shopping cart, where you can modify item quantities or remove items.
  • Toast notifications will appear to confirm actions taken.

Deployment

The application is deployed on Vercel. You can view the live version at [https://ecommerce-eta-seven-82.vercel.app/].

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for any improvements or features.

Acknowledgments

  • Thanks to the Vite community for their support and resources.
  • Inspiration from various e-commerce projects and tutorials.

About

This is an E-commerce website built using Vite and Vanilla JavaScript. The application features a responsive design, cart functionality, and a custom API for fetching product details. It is deployed on Vercel and includes user-friendly features such as adding/removing products from the cart and adjusting product quantities.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published