Git Product home page Git Product logo

microlending-credit-insight's Introduction

Micro-Lending Credit Insight Use Case

This use case is an extension of Account Opening Use Case

This use case is built with Angular 8. To go through the use case, you don't need to know Angular. But if you are interested in leaning Angular, please follow this tutorial.

Microlending involves granting small loans to people in need. These loans are generally used by entrepreneurs with a business idea or those who need extra cash to expand. In that sense, they aren't much different from small business loans. However, microlending is actually much different. What makes these loans unique are the motivations behind it, the sizes of loans, and the people involved.

Evaluating the creditworthiness of the borrowers would reduce the risk of the loan not getting repaid. This use case would evaluate the credit score of the borrower.

Additional APIs used to implement the use case

  1. Trusting Social - Credit Insight (Link)

    • Staging API access Keys
      • username: [Contact Trusting Social to get the credentials]
      • password: [Contact Trusting Social to get the credentials]
      • clientCode: [Contact Trusting Social to get the credentials]
      • host: https://staging-api.trustingsocial.com
      • basePath: /

Setting up the development server

Note: If previous use case is running in the IDE Terminal, Press Ctrl + C to stop.

Execute following commands in Terminal window.

  1. Let's change the terminal directory to root projects folder

    cd ~/project/
    
  2. Download the code into IDE instance

    git clone https://github.com/apixplatform/microlending-credit-insight.git
    
  3. Use case code is downloaded to IDE instance to the folder microlending-credit-insight. Let's change the terminal directory to microlending-credit-insight folder.

    cd microlending-credit-insight/
    
  4. Download Angular dependancies with below commands.

    npm install
    
  5. Start the Angular application server.

    npm start
    

To configure the use case,

  1. Open microlending-credit-insight > api-config.json from the Project Explorer left pane.

  2. Provide your APIX credentials.

     "userName": "Replace this with your APIX username",
     "password": "Replace this with your APIX password"
    
  3. From the main menu, click File > Save.

Now the development server is up and running with correct configurations. To open the use case website follow the below instructions.

  1. Copy the IDE instance URL from the browser tab. (ex: https://ide-xxxxxx.services.apixplatform.com/)
  2. Open a new browser tab and paste the copied IDE url. Change the ide text to app in the URL and open. New URL would look like (ex: https://app-xxxxxx.services.apixplatform.com/)

Testing the use case

  1. Click on Create an Account button from Home page.

    i. In the GitHub project go to test-images and download id.jpg and selfie.jpg. Provide these two images in the 1st step of application window and click Verify button.

    • HyperVerge Face Match API will get executed to validate the provided identity document and selfie.
    • Match confidence level will be provided as the output.
    • Click on Go to Account Creation button to proceed.

    ii. Provide account creation inputs and click Create Account Button.

    • Bank customer will get created with the provided Account Holder's Name using Smart Bank - Party API.
    • New Account gets created using Smart Bank - Account API.
    • Newly created customer will be assigned to the Account as the Account Owner using Smart Bank - Account API.

    iii. Created Account Details will be shown in the Step 3.

    iv. Click Home button.

  2. Click on Apply for a Loan button from Home Page

    i. Enter the name and phone number (917025xxxxxx) and Submit. Last 6 digits are arbitary. Please note down the phone number provided, before submit.

    • 917025976692 - Has a good credit score
    • 917025111111 - Has a bad credit score

    ii. OTP needs to be provided now.

    • Go to Trusting Social Staging SMS Service
    • Enter same phone number you entered in the previous step into the Input Phone Number field and Submit.
    • Copy the correct OTP for the request and provide it in Use case frontend and Submit.

    iii. Credit Score percentage will be shown. If Credit Score is healthy, You are eligible for a loan! message will appear in the screen. If not, Unfortunately, you are not eligible for a loan. message will appear in the screen.

microlending-credit-insight's People

Contributors

clennam avatar mdinuth avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.