Skip to content

A React-powered tool for visualizing the growth of your savings through compound interest.

License

Notifications You must be signed in to change notification settings

ryanbalieiro/react-compound-interest-calculator

Repository files navigation

A React-based tool designed to visualize the growth of investments through compound interest.

This tool automatically calculates and compounds interest, providing detailed reports that include both charts and tables. Users can easily track their estimated total growth over the years and watch how their interest adds up alongside the money they've invested. It's a simple way to see how your investments grow.

You can explore and play around with the calculator by accessing a live version available here.

Below is an example report based on an initial investment of $10,000.00, with monthly contributions of $100.00 and an annual interest rate of 6% over 25 years:

alt tag1

Status

MIT License Version Open Issues

Installation and deployment

  1. Clone the repo:
git clone https://github.com/ryanbalieiro/react-compound-interest-calculator
  1. Go to the project's root folder and use npm to install all required components:
npm install
  1. Launch the project in developer mode:
npm run dev
  1. For a production build, go to vite.config.js and configure the base directory for your application. This setting establishes the primary path under which your website will be hosted.
export default defineConfig({
  base: '/',
  plugins: [react()],
})
  1. Run the following command to compile the project into dist:
npm run build
  1. If your deployment is targeted at GitHub Pages, ensure to run the following build command:
npm run ghdeploy

This command will build the project and make a copy of index.html named 404.html inside the dist folder, serving as a workaround to the problem discussed in detail at https://stackoverflow.com/questions/48521177/404-when-reloading-a-vue-website-published-to-github-pages.

About

This project was created by and is maintained by Ryan Balieiro. It was made possible using the following libraries and frameworks:

  • React – A popular JavaScript library for building UIs.
  • Vite – A frontend tool for building web applications
  • React Router Dom – A library for routing and navigation in React applications.
  • ChartJS – A JavaScript library for creating charts.
  • FontAwesome – A library of icons for web projects.
  • Bootstrap 5 – A responsive CSS framework.

Copyright and License

Code released under the MIT license.

About

A React-powered tool for visualizing the growth of your savings through compound interest.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published