This module contains service to interact with Apache Fineract microfinance platform.
It simplifies the requests and expose convenient API methods to work with he Fineract REST API.
Current module covers next endpoints:
- Retrieve client by id
- Retrieve the list of clients
- Create new client
The module is not in npm repository. So, please use next npm command to install it.
$ npm install https://github.com/ksondz/apache-fineract-api.git
import fineract from 'apache-fineract-sample';
const fineractService = fineract();
fineractService.getClient(1)
.then(function(client) {
console.log(client);
})
.catch(function(error) {
console.log(error);
});
$ npm test