PrincePundir123/E-Commerce

โ˜… 1Forks 0JavaScriptGitHub โ†—Compare

README

๐Ÿ›’ E-Commerce Web Application (Amazon Clone)

A responsive e-commerce front-end application that simulates an Amazon-like shopping experience with product browsing, cart management, checkout, and order tracking.


๐ŸŒ Overview

This project is a client-side shopping platform built using HTML, CSS, and JavaScript.
It dynamically loads product data and allows users to browse items, manage a cart, and simulate order checkout.


๐Ÿš€ Features

  • ๐Ÿ›’ Add, remove, and update items in cart
  • ๐Ÿ’ณ Checkout with price summary
  • ๐Ÿ“ฆ Order tracking pages
  • โšก Dynamic product loading using Fetch API
  • ๐Ÿงช Unit testing using Jasmine
  • ๐Ÿ’พ Cart data stored in LocalStorage

๐Ÿ› ๏ธ Tech Stack

  • HTML5
  • CSS3 (Flexbox & Grid)
  • JavaScript (ES6+)
  • Jasmine
  • Fetch API
  • LocalStorage

๐Ÿ Getting Started

Clone the repository

git clone https://github.com/PrincePundir123/E-Commerce.git

Go to project folder

cd E-Commerce

Run the project

Open index.html in your browser.

Or use VS Code Live Server.


โš™๏ธ How It Works

  1. Product Loading

    • Products are fetched from a JSON file using fetch() and async/await.
  2. Cart System

    • Cart data is stored in a JavaScript array and saved in LocalStorage.
  3. Checkout

    • The checkout page reads cart data and calculates:
    • total price
    • shipping
    • taxes

๐Ÿค Contributing

  1. Fork the repository
  2. Create a new branch
git checkout -b feature-name
  1. Commit changes
git commit -m "feat: add new feature"
  1. Push branch
git push origin feature-name
  1. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License.


๐Ÿ“ฌ Contact

Prince Pundir

GitHub: https://github.com/PrincePundir123
Email: [email protected]

Contributors

PrincePundir123

Issues