Afternoon Project Post Mortem: Credit Card Payments Calculator
Published on 2020-01-11 20:07
Over the end of the year holidays I've started to learn more about personal finance. That part of my life has been lacking good information despite being a daughter of an accountant and tax consultant. So I made an app which calculates the credit card payments.
At the end of 2018 I made a dubious decision of applying for a credit card and lacking information I haven't been very disciplined throughout 2019, fortunately it's manageable. Still my goal for my project was to make it a bit more manageable by learning approximately how big my payments are going to be if I am disciplined with my credit card.
Choosing the Technology
Except this isn't a project at my job. This is a fun project and fun and learning take priority. Plain HTML/CSS/Vanilla JS projects I've been deploying since I was a teenager. But I haven't deployed a single Vue app yet[1. Fun fact: In the past I've worked on React, Angular and AngularJS apps that were already deployed or I helped creating their deployment scripts]. So I chose Vue.
One way how this project deviates compared to projects at work is usage of testing. At the setup of a project Vue CLI offers two options for testing, my choice was to use Jest. Unfortunately there's only one function in the application that happens on click. So for the time being unit testing was removed from the project as it was adding unnecessary complexity.
When the project expands to the point where unit testing would be beneficial to the project, it'll be reinstated.
Since the app is based on Vue, it demands to be expanded in the future. My ideas so far are:
- D3.js graph to visualize how much is each payment
- more options when it comes to paying off the loan (extra payments, etc.)
- send page for creating Sinking/FU funds
- create better UI styling
Link to the project xgebi.github.io/Credit-Card-Calculator/