Too Long; Didn't Read
A calculator where you can enter various factors like layout dimensions, scale, number of locomotives etc. and get a rough estimate of how much your new layout is going to cost you. Most of the calculator was written in Javascript, while the actual cost calculation was done by calling an API function. The calculation function has been written as an extension to the WordPress REST API. With the database table, I can also assign each calculation a unique id - with the id, people can share their calculations and tweak their calculation later on.