Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adriablancafort/preact-cart

Preact Shopping Cart with Local Storage
https://github.com/adriablancafort/preact-cart

Last synced: 18 days ago
JSON representation

Preact Shopping Cart with Local Storage

Awesome Lists containing this project

README

        

# Preact Cart

Ecommerce Shopping Cart with Preact and Astro.js by leveraging Local Storage Browser API.

## Features

- Cart stored in Local Storage to persist state throught page reloads with a custom cart provider.
- Products consumed through a REST API ([Fake Store API](https://fakestoreapi.com))
- Select product quantity, add to cart, change product quantity in cart, remove product from cart functionalities.
- Instantanious Subtotal and Number of items in the cart calculations.
- Infinite Scroll with limit and offset pagination and load more button every x automatic loads.

## Technologies Used

Preact, Astro.js and Nanostores (to manage state throught Astro Dynamic Islands).