1.3.4 • Published 2 years ago

@amalgamaco/api-entity-service v1.3.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

API Entity Service

A set of services to provide an easy way to interact with a REST API resource and abstract common CRUD operations handling:

  • The creation of the requests to the REST API service depending on the called method following REST conventions to decide which path and type of request to use.
  • Parsing the REST API response using the provided attributes mappers.
  • Creating the local entities in their corresponding stores. Taking care of setting up the relations between them correctly.

Getting Started

Installation

Run the following command to add the ApiEntityService library to your project:

yarn add @amalgamaco/api-entity-service

or

npm install @amalgamaco/api-entity-service

Usage

For instructions on how to use this library you can go to the Usage section.

Reference

For a more detailed api reference for the provided classes you can go the Reference section.

1.3.4

2 years ago

1.3.3

2 years ago