A rest api orm for Angular. Tested with Angular 6.1.x. Can be use used seamlessly with JsonApi.org or easibly be adjusted to work with your own format.
It aims to remove as much boilerplate code as possible while allowing for easy extendability. It will empower your models with CRUD functionality and also manages to-one and to-many relationships.
Your models will look something like
Then, some common usage will look like
For more detailed information on the available methods and how to use them, see the model usage guide.
Using npm:
See the model usage guide for detailed instructions on how to use the Resource
classes and decorators.
If the ngx-api-orm
default format or the JsonApi.org format is not what you're getting from your API, see the extendability guide. This library leverages the power of Angular's dependency injection, making it super easy to override certain default features.