enter image description here

LoanWolf

LoanWolf is a calculator that will do basic calculations of common loan types such as mortgages, auto loans, student loans, or personal loans.

Table of Contents

Motivation

The project started as a group coding challenge during Week 3 of the Coder Foundry Coding Bootcamp. The goal of the challenge was to write a mortgage calculator application that takes certain parameters:

  1. The amount of money loaned in dollars (balance).
  2. The time over which the loan will be repaid, in months (term).
  3. The percentage rate at which interest will accrue on the loan (rate).

The challenge had a requirement for what was output:

  1. The month (1 being the first month of payment, up to x amount of months of the full term).
  2. The payment amount.
  3. The principal paid for the current month.
  4. The interest paid for the current month.
  5. The total interest paid to date.
  6. The remaining balance of the loan at the end of the current month.

The project was judged on several criteria as outlined below:

  1. Does the project meet the specifications listed above?
  2. Does the app exceed those listed specifications?
  3. Is the UI attractive?
  4. Ease of Use and how intuitive the project is.
  5. Are user inputs validated?
  6. Overall Presentation.
  7. Over Team Contributions.

The winning team at the end of the week is awarded Coder Foundry Star Coder. Star Coder is a weekly award that showcases the amount of commitment and dedication one has to their work and the amount of knowledge and professionalism that was present during their weekly interview.

Technology Used

  • Logic/Functionality - JavaScript and jQuery
  • User Interface - HTML and CSS using the Bootstrap Framework
  • GitHub Repository to collaborate code between the team.
  • Netlify to publish the application for easy access online.
  • Microsoft Teams and Zoom Meetings to communicate effectively.

Features

Comparative Analysis: With the help of Loan Rocket, you can compare the loan schemes offered by different banks and calculate how much money can be saved by opting for a particular bank.

Look Out for Options: To find out the total mortgage cost, the loan applicant can enter different loan amounts, tenures and rates of interest in the online calculator to assess various payment options.

Repayment Scenarios: Loan Rocket can be used by an applicant to get the result on the basis of their payment schedules by entering the details such as monthly payments, interest rates, and loan tenure.

Customized Calculations: The applicant can get customized results through Loan Rocket by entering the type of interest rate, amortization period and loan amount.

Helps in understanding the product better: Loan Rocket is easy to use, therefore it helps you have a better understanding of your options instead of having a rich description in a text format.

Code Example

Here are a few examples of some of the code that we used to create LoanWolf.
The code below sets the input variables to two decimal places.

	amount = accounting.toFixed(amount, 2);
	rate = accounting.toFixed(rate, 2);
	term = accounting.toFixed(term, 2);

The code below determines the total interest.

 totalInterest = totalInterest + parseFloat(interestPayment);

The code below determines the principal that is paid each month.

principalPayment = accounting.toFixed(payment - interestPayment, 2);

APIs Used / Referenced

We used the Google Maps API to bring a map into our application that showed the users location. With the addition of the Google Places API, we were able to mark up to 20 different lenders within 5 miles of the users location.

Google Maps and Places API Information

How to Use

LoanWolf was designed to be user friendly. It is quite simple to use and easy to read.
You start by inputting the information that the calculator is requesting in the three input fields.
enter image description here
You then hit the calculate button.
enter image description here


This will do an output of information in three fields.

Your calculated monthly payments, total payments at the end of the loan term and the total interest you will have to pay at the end of the loan term.
enter image description here
It will also show this information in a graph.
enter image description here
And it will show this information in a table format.
enter image description here
The last feature of the application is our map that will show you up to 20 of the closest lenders in your area, incase you decide to get the loan you're calculating.
enter image description here

Contributors

This project as mentioned in the Motivation section was a team coding challenge. The teams were selected based on a few criteria that wasn't made public. The teams were created by Antonio Raynor and Bobby Davis, Jr. Each team consisted of three students.

Credits

Credits for building the application from Front End to Back End go to Adrian Edelen, Fred Smith and Kenan Bjelosevic. It was a team collaboration and each contributor provided some of their knowledge and expertise in all portions of the project. The project was completed in three short days. Assigned on a Thursday night and submitted early Monday morning.

We would also like to give credit to Coder Foundry and it's staff. Coding is a skill that is learned. Each person has the ability to learn how to code. What most lack is the motivation and drive to do so. Coder Foundry provides an amazing curriculum on top of a great staff that is with you everyday through your journey, motivating and enabling you for success.

If you want to find out more about Coder Foundry, please go to their YouTube Channel. The owner Bobby Davis, Jr provides amazing content that will motivate you to change your life.

License

This project has no licensing at this moment. It is Open Source, if you would like to contribute and/or collaborate with us, please go to our Developer Profiles by clicking on our names below.

This README was written by Kenan Bjelosevic with the assistance of Adrian Edelen and Fred Smith.