1.1.0-rc.4 • Published 4 years ago

@rplaurindo/ngen-crud-requester v1.1.0-rc.4

Weekly downloads
19
License
-
Repository
-
Last release
4 years ago

NGenCRUDRequester - Angular Generic Requester to do CRUD

Requirements

  • Angular 5 or higher.

Installing

$ npm i @rplaurindo/ngen-crud-requester --save

Usage

Import NGenCRUDRequesterModule from @rplaurindo/ngen-crud-requester in your module, and put in the key imports of metadata fromNgModule, so import NGenCRUDRequester namespace in your service and extend the NGenCRUDRequester.AbstractCRUDService<any> class, like that:

@NgModule({

    imports: [
        NGenCRUDRequesterModule
    ]

})

export  class  YourModule { }
import { NGenCRUDRequester } from  '@rplaurindo/ngen-crud-requester';


@Injectable()
class  YourService extends NGenCRUDRequester.AbstractCRUDService<any> {

}

Then your service will earn the protected methods create, read, search, searchByHTTPGetVerb, update, put, and delete.

1.1.0-rc.4

4 years ago

1.1.0-rc.3

5 years ago

1.1.0-rc.2

5 years ago

1.0.0-rc.6

5 years ago

1.0.0-rc.5

5 years ago

1.0.0-rc.4

5 years ago

1.0.0-rc.3

5 years ago

1.0.0-rc.2

5 years ago

1.0.0-rc.1

5 years ago