Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stradivario/gapi-microservices


https://github.com/stradivario/gapi-microservices

Last synced: 16 days ago
JSON representation

Awesome Lists containing this project

README

        

# @Gapi/microservices

![Build Status](http://gitlab.youvolio.com/gapi/gapi/badges/branch/build.svg)

#### @Gapi Microservices module @StrongTyped

##### For questions/issues you can write ticket [here](http://gitlab.youvolio.com/gapi/microservices/issues)
##### This module is intended to be used with [GAPI](https://github.com/Stradivario/gapi)

## Installation and basic examples:
##### To install this Gapi module, run:

```bash
$ npm install @gapi/microservices --save
```

## Consuming gapi-microservices

##### Import inside AppModule or CoreModule
```typescript

import { GapiModule } from '@gapi/core';
import { GapiMicroserviceModule } from '@gapi/microservices';

@GapiModule({
imports: [
GapiMicroserviceModule.forRoot({
microservice1: 'http://localhost:1000',
microservice2: 'http://localhost:1000',
})
]
})
export class AppModule { }
```

TODO: Better documentation...

Enjoy ! :)