Skip to content

🏡 A small app + micro-service for calculating the minimum mortgage downpayment in Canada.

License

Notifications You must be signed in to change notification settings

himynameisdave/downpayment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

downpayment calculator

🏡 A tiny app for calculating the minimum mortgage downpayment in Canada.


This is a simple Svelte-based web app for determining the legal minimum downpayment for mortgages in Canada. It is not meant to be super comprehensive, for example it doesn't allow you to calculate interest payments etc.

In action

You can see it in action over at downpaymentcalculator.ca.

Query param

If you want to quickly find out the minimum downpayment calculation, you can include a query string parameter in the URL. Here's an example:

https://downpaymentcalculator.ca?asking=450000

This allows you to also bookmark certain price URLs if you want to return to them in the future.

Developing

First clone the repo, then install the dependencies with your JS package manager of choice:

git clone [email protected]:himynameisdave/downpayment.git

cd ./downpayment

yarn install # or `npm install`

Then run this command to start the development server:

yarn run dev # or `npm run dev`

The app will then be running at localhost:5000.

Contributing

Issues and pull requests are quite welcome!

Project Goals

It would be cool to add a simple API for this, it would also be cool to respond with some JSON if you curl the endpoint.


Created by Dave.