NgShoppingCart

An Angular component library to create shopping carts. Based on it's predecessor for Angular.js with tons of improvements.
Features
- All the previous components with more features.
- An extra
CartShowcaseComponent
to help e-commerce applications to quickly build screens to display their available products. - Generic services to use your own data structures for cart items. Only a few required methods needs to be implemented to interop with the library.
- A default
CartItem
class ready to go, easy to replace. - Several built-in
CartService
implementations to persist cart information in different ways. - Easily customizable styles with
Sass
variables
This library is compatible with Angular version >=5
Installation
Using npm
npm install ng-shopping-cart --save
or yarn
yarn add ng-shopping-cart
Documentation
Documentation is available at http://devconcept.github.io/ng-shopping-cart
Demo
To view a demo of the components of the library:
- Clone the repository
- Install it's dependencies with
npm install
- Run the main npm script with
npm start
or ng serve --app=1
License
MIT