Coder Social home page Coder Social logo

compound-interest-calculator-api's Introduction

compound-interest-calculator-api

Node.js CI

A serverless compound interest API on AWS Lambda.

Visit:

https://3jvichlsm2.execute-api.eu-west-2.amazonaws.com/dev/calculate/api?principal=100&interestRate=0.15&monthlyAmount=400&termLength=10

Example output:

{
  "value": 111906.93,
  "history": [
    {
      "year": 1,
      "value": 100
    },
    {
      "year": 2,
      "value": 5324.52
    },
    {
      "year": 3,
      "value": 11388.91
    },
    {
      "year": 4,
      "value": 18428.17
    },
    {
      "year": 5,
      "value": 26599.03
    },
    {
      "year": 6,
      "value": 36083.39
    },
    {
      "year": 7,
      "value": 47092.41
    },
    {
      "year": 8,
      "value": 59871.17
    },
    {
      "year": 9,
      "value": 74704.18
    }
  ],
  "input": {
    "principal": 100,
    "monthlyAmount": 400,
    "interestRate": 0.15,
    "termLength": 10
  }
}

compound-interest-calculator-api's People

Watchers

 avatar  avatar

Forkers

imjacobclark

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.