Skip to content

blueberryapps/js-developer-second-round

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple loan calculator

The task

As a user who needs to get lend some money I would like to have the ability to choose the amount and term of the loan so that I know what will be my monthly instalment and interest.

Features

  • 2 sliders
    • 1st slider controls the amount
    • 2nd slider controls the term (number of loan)
  • The calculator has a configuration. The configuration contains the minimum, maximum and step for both amount and term. It also contains the default value.
  • Each slider has also a <select> besides it. The <select> contains all possible values (take step into account).
  • If either of these control elements change the second one must be updated as well (slider changes -> select is updated and vice versa).

The API

API is available at https://js-developer-second-round.herokuapp.com/api/v1/

Bonus

  • Use Flux (Redux) to capture the state of the application
  • Use Immutable.js or Ramda to save and manipulate the state
  • Use some boilerplate to kick off the project (e.g. Este)
  • Use /api/v1/application/real-first-loan-offer and offer should be rendered correctly (so your selected amount and term will allways correspond with shown offer)
  • Cache all requests so the application is more responsive to user input
  • Server rendering
  • Use inline styles

Example of a production application: https://www.vivus.com.mx/

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 61.4%
  • CSS 23.3%
  • HTML 15.3%