Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/adriablancafort/preact-cart
- Owner: adriablancafort
- Created: 2024-02-17T22:10:48.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-02-17T22:33:32.000Z (12 months ago)
- Last Synced: 2024-11-12T21:45:21.357Z (3 months ago)
- Language: TypeScript
- Homepage: https://preact-cart.adriablancafort.com/
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).