0.0.3 • Published 1 year ago
crickpe-microservice-connector v0.0.3
Crickpe microservices connector
Microservice will work as a connector to connect crickpe microservices with each other. This will make it easy to access data across services.
Prerequisites
- Install Node
- Install npm
How to use the package
Simply install the package using npm
npm install crickpe-microservice-connector
In order to access APP_API microservice, you can check function available from APP_API instance from the package:
const { APP_API } = require('crickpe-microservice-connector');
APP_API.findMatchDetails(<Match_id>)
.then((result) => {
console.log(result);
})
.catch((err) => {});