@gapi/microservices
v1.8.151
Published
![Build Status](http://gitlab.youvolio.com/gapi/gapi/badges/branch/build.svg)
Downloads
187
Readme
@Gapi/microservices
@Gapi Microservices module @StrongTyped
For questions/issues you can write ticket here
This module is intended to be used with GAPI
Installation and basic examples:
To install this Gapi module, run:
$ npm install @gapi/microservices --save
Consuming gapi-microservices
Import inside AppModule or CoreModule
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 ! :)