Skip to content

rajat-hub/react-calc-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features

  • A user interface that allows a user to enter a loan amount and a loan duration in months which then displays the interest rate and the monthly payment.
  • The user is able to enter the monetary amount and loan duration by using a slider.
  • The calculated values is automatically updated as the slider is used - without requiring any further interaction by the user.
  • The loan amount should be between 500 and 5000 $ and the loan duration between 6 and 24 months.
  • The following API is used - https://ftl-frontend-test.herokuapp.com/interest?amount=<amount>&numMonths=<numMonths>
    This returns a JSON object with information about the monthly payment and the interest rates.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Node.JS and npm must be installed. Download and install them from here.

Installing

Follow these steps to run this project in your local computer.

$ cd react-loan-interest-calculator
$ npm i

Now, to run the project on port 3000, run:

$ npm start

Go to http://localhost:3000 to view the app.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published