open-index/open-npm huggingface dataset:
npm package: @kathirvelangles/shared-repo
Description: Creating common Models and Repo
Author: Angles Kathirvel
Latest version: 0.0.2

# shared-repo

[![LoopBack](https://github.com/loopbackio/loopback-next/raw/master/docs/site/imgs/branding/Powered-by-LoopBack-Badge-(blue)-@2x.png)](http://loopback.io/)

## Installation

Install SharedRepoComponent using `npm`;

```sh
$ [npm install | yarn add] shared-repo
```

## Basic Use

Configure and load SharedRepoComponent in the application constructor
as shown below.

```ts
import {SharedRepoComponent, SharedRepoComponentOptions, DEFAULT_SHARED_REPO_OPTIONS} from 'shared-repo';
// ...
export class MyApplication extends BootMixin(ServiceMixin(RepositoryMixin(RestApplication))) {
  constructor(options: ApplicationConfig = {}) {
    const opts: SharedRepoComponentOptions = DEFAULT_SHARED_REPO_OPTIONS;
    this.configure(SharedRepoComponentBindings.COMPONENT).to(opts);
      // Put the configuration options here
    });
    this.component(SharedRepoComponent);
    // ...
  }
  // ...
}
```