Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stradivario/gapi-microservices
https://github.com/stradivario/gapi-microservices
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/stradivario/gapi-microservices
- Owner: Stradivario
- Created: 2018-04-04T18:57:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-31T22:40:32.000Z (over 2 years ago)
- Last Synced: 2024-11-18T13:25:52.724Z (about 1 month ago)
- Language: JavaScript
- Size: 487 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
```typescriptimport { 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 ! :)