{"repo":"reyesoft/ngx-jsonapi","free":true,"listed":false,"github":"https://github.com/reyesoft/ngx-jsonapi","clone":"git clone https://github.com/reyesoft/ngx-jsonapi.git","description":"JSON API client library for Angular 5+ 👌 :: Production Ready 🚀","language":"TypeScript","stars":101,"topics":["angular","angular4","jsonapi","angular2","jsonapiclient","jsonapi-library"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"ngx-jsonapi This is a JSON API library for Angular 6+. Please use ts-angular-jsonapi for AngularJS. Online demo You can test library on this online example 👌 . Data is obtained from Json Api Playground server. Supported features - Cache (on memory): TTL for collections and resources. Before a HTTP request objects are setted with cached data. - Cache on IndexedDB - Pagination - Sorting - Include param support (also, when you save) - Equal requests, return a same ResourceObject on memory - Default values for a new resource (hydrator). Migration - Migration v1 to v2 update guide Usage Just install, configure and learn with examples. First of all, it's advisable to read Jsonapi specification. Understanding JsonApi documents structure is recommended. Installation Dependecies and customization 1. Add Jsonapi dependency. 2. Configure your url and other paramemeters. 3. Inject JsonapiCore somewhere before you extend any class from Jsonapi.Resource . Enable Local Cache Library cache anything memory. With Local Store, also store all on IndexDb on browser. Faster apps when we reuse a lot of data. Examples Like you know, the better way is with examples. Lets go! 🚀 Defining a resource authors.service.ts Get a collection of resources Controller View for this controller Collection sort Example: name is a authors attribute, and makes a query like /authors?sort=name,job title Collection filtering Filter resources with attribute: value values. Filters are used as 'exact match' (only resource","default_branch":null,"files":null,"tree":[],"storefront":"/r/reyesoft","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/reyesoft/ngx-jsonapi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}