Skip to content

alam-cloud/snappycart

 
 

Repository files navigation

SnappyCart Demo

A demo application showcasing the SnappyCart React shopping cart library.

Features

  • Add items to cart
  • View cart in a sliding drawer
  • Increase/decrease quantities
  • Remove items
  • Clear cart

Getting Started

  1. Install dependencies:

    npm install
  2. Start the development server:

    npm run dev
  3. Open your browser to http://localhost:5173 (or the port shown in the terminal)

Usage

  • Click "Add Apple" or "Add Banana" to add items to the cart
  • The cart drawer will appear on the right side
  • Use the +/- buttons to adjust quantities
  • Click × to remove an item
  • Click "Clear Cart" to empty the cart

Built With

  • React
  • TypeScript
  • Vite
  • SnappyCart (local implementation)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 70.6%
  • CSS 26.2%
  • HTML 3.2%