@daffodil/category
TypeScript icon, indicating that this package has built-in type declarations

0.68.1 • Public • Published

@daffodil/category

Building and maintaining a model and code for an ecommerce store is complex and mentally taxing. @daffodil/category provides clear interfaces, models, and factories for the frontend of an ecommerce store so that you don't have to.

The category module manages the graphQL calls, state, selectors, and models for single category calls. Requests for a category should be made with a DaffCategoryLoad(id) action through the DaffCategoryFacade. Selection of the retrieved category and its loading state can also be done through the DaffCategoryFacade with the category$ and loading$ attributes.

Right now, the @daffodil/category package supports an in-memory for developing locally and a magento driver.

Installation

npm install @daffodil/category

To use the @daffodil/category with an in-memory-web-api, import the DaffCategoryInMemoryDriverModule.forRoot() into your app.module. To use the @daffodil/category with a magento backend, import the DaffCategoryMagentoDriverModule.forRoot() into your app.module.

Readme

Keywords

none

Package Sidebar

Install

npm i @daffodil/category

Weekly Downloads

14

Version

0.68.1

License

MIT

Unpacked Size

731 kB

Total Files

262

Last publish

Collaborators

  • damienwebdev
  • griest