Skip to content

Application that calculates the final value of an investment!

Notifications You must be signed in to change notification settings

jairokoning/interest-calculation-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interest Calculation

Project developed for a technical challenge/test

🚀 Challenge

Create a function that calculates the final value of an investment based on initial capital, interest rate, and investment time (in months). The program must prompt the user for these values and display the final value.

🛰️ Technologies

This project was developed with the following technologies:

  • Node.js
  • Express
  • Jest

💻 Installation / How to use

  • Clone this repository:
    git clone https://github.com/jairokoning/interest-calculation-api.git
  • Install dependencies:
    yarn install
  • Start the application
    yarn dev
  • Run tests
    yarn test
  • Execute http://localhost:3000/calculate on a API Client for REST (Insomnia, Postman...)
  • Send the investment information in the following format in the body of the post request for get the final value of investment
    {
     "initialCapital": 60000,
     "interestRate": 1.2,
     "investmentTime": 12
    }

Developed with 😀 and ❤️ by Jairo Koning

About

Application that calculates the final value of an investment!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published