fineract-client

2.0.21 • Public • Published

A simple node/browser client to connect to REST apis of Apache Fineract server

Usage

import { FineractAPI } from "fineract-client";

let config = { client_username: "xxx", client_tenant_id: 'default', client_base_url: "https://xxxx.in/fineract-provider/api/v1", client_password: "xxx" };

   let response = await (new FineractAPI(config)).get('search', args);
    
    let results =  response.data;

    console.log(results);

Run Tests

  1. Run npm install

  2. Create .env file in your project's root and place the following contents

CBS_BASE_URL=https://xxxx.xxx.xx/fineract-provider/api/v1
CBS_USER=my_cbs_username
CBS_PASSWORD=my_cbs_password
CBS_TENANT=default
  1. Run npm test
npm test

Readme

Keywords

none

Package Sidebar

Install

npm i fineract-client

Weekly Downloads

3

Version

2.0.21

License

ISC

Unpacked Size

80.9 kB

Total Files

20

Last publish

Collaborators

  • cuterajat26