<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: jemst7480-del</title>
    <description>The latest articles on DEV Community by jemst7480-del (@jemst7480del).</description>
    <link>https://dev.to/jemst7480del</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4149471%2F60a7cddd-c519-4400-b19e-5400b0974518.png</url>
      <title>DEV Community: jemst7480-del</title>
      <link>https://dev.to/jemst7480del</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jemst7480del"/>
    <language>en</language>
    <item>
      <title>How I Built an Actuarial Mortgage Platform with 163 Pages and Zero Technical Debt</title>
      <dc:creator>jemst7480-del</dc:creator>
      <pubDate>Sun, 25 Oct 2026 12:51:15 +0000</pubDate>
      <link>https://dev.to/jemst7480del/how-i-built-an-actuarial-mortgage-platform-with-163-pages-and-zero-technical-debt-1km8</link>
      <guid>https://dev.to/jemst7480del/how-i-built-an-actuarial-mortgage-platform-with-163-pages-and-zero-technical-debt-1km8</guid>
      <description>&lt;p&gt;When shopping for a home, most consumers rely on standard bank mortgage calculators. Unfortunately, the vast majority of online mortgage widgets are mathematically oversimplified: they calculate a clean Principal &amp;amp; Interest payment, while completely hiding private mortgage insurance (PMI) cancellation curves, tiered transfer taxes, and front-loaded interest mechanics.&lt;/p&gt;

&lt;p&gt;To solve this, I spent the last few months architecting &lt;strong&gt;&lt;a href="https://smartmortgagecalc.space/" rel="noopener noreferrer"&gt;SmartMortgageCalc&lt;/a&gt;&lt;/strong&gt;, an open actuarial intelligence suite designed to deliver institutional-grade calculations with zero data tracking.&lt;/p&gt;

&lt;p&gt;Here is an architectural breakdown of how the platform is engineered to handle 163 prerendered pages, cross-border banking regulations, and pass 29 rigorous actuarial test suites.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. The Core Engineering Challenge: Beyond $M = P \frac{r(1+r)^n}{(1+r)^n - 1}$
&lt;/h2&gt;

&lt;p&gt;The standard amortization formula is elementary:&lt;/p&gt;

&lt;p&gt;$$M = P \frac{r(1+r)^n}{(1+r)^n - 1}$$&lt;/p&gt;

&lt;p&gt;Where:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;$M$ = Monthly principal and interest&lt;/li&gt;
&lt;li&gt;$P$ = Loan principal&lt;/li&gt;
&lt;li&gt;$r$ = Monthly interest rate&lt;/li&gt;
&lt;li&gt;$n$ = Total number of payments&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;However, in the real banking world, &lt;strong&gt;no mortgage is this simple&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Cross-Border Compounding Rules:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;United States&lt;/strong&gt;, interest compounds monthly.&lt;/li&gt;
&lt;li&gt;In &lt;strong&gt;Canada&lt;/strong&gt;, under the &lt;em&gt;Canada Interest Act&lt;/em&gt;, fixed mortgages must compound &lt;strong&gt;semi-annually&lt;/strong&gt;, not monthly. A nominal 5.0% Canadian loan produces a different effective amortization rate than a 5.0% US loan.&lt;/li&gt;
&lt;li&gt;In &lt;strong&gt;Australia&lt;/strong&gt;, offset accounts recalculate interest on daily balances, and biweekly payments follow an accelerated 26-pay schedule that saves thousands in compound interest.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;The Front-End DTI Benchmark:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Under standard 28/36 underwriting guidelines, a buyer purchasing a $400,000 property needs an exact salary calculation factoring in property taxes and homeowner insurance. We documented this full breakdown in our &lt;a href="https://smartmortgagecalc.space/blog-salary-needed-for-400k-house" rel="noopener noreferrer"&gt;Salary Needed for a $400k House Guide&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  2. Testing for Precision: 29 Actuarial Test Vectors
&lt;/h2&gt;

&lt;p&gt;To guarantee zero mathematical drift, every underwriting equation is backed by automated Node.js test suites. &lt;/p&gt;

&lt;p&gt;Here is a snippet from our automated test suite evaluating early mortgage payoff and principal curtailment:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
typescript
// Benchmark: $300,000 loan at 6.00% fixed for 30 years
// Baseline Monthly P&amp;amp;I = $1,798.65
// Testing +$200/month extra principal curtailment
const loanAmount = 300000;
const annualRate = 0.06;
const extraPayment = 200;

const result = calculateAcceleratedPayoff(loanAmount, annualRate, 360, extraPayment);

assert.strictEqual(result.yearsSaved, 6.8);
assert.strictEqual(Math.round(result.interestSaved), 91230);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>finance</category>
      <category>seo</category>
    </item>
    <item>
      <title>Why I Built a Mortgage Calculator That Doesn't Track You (100% Client-Side)</title>
      <dc:creator>jemst7480-del</dc:creator>
      <pubDate>Wed, 21 Oct 2026 16:13:27 +0000</pubDate>
      <link>https://dev.to/jemst7480del/why-i-built-a-mortgage-calculator-that-doesnt-track-you-100-client-side-2ceg</link>
      <guid>https://dev.to/jemst7480del/why-i-built-a-mortgage-calculator-that-doesnt-track-you-100-client-side-2ceg</guid>
      <description>&lt;p&gt;As developers, we build tools to solve problems. But when I was looking for a mortgage calculator for my own personal use, I noticed a disturbing trend: almost every calculator out there requires you to sign up, give your email, or worse, they track your financial data and sell it to third parties.&lt;/p&gt;

&lt;p&gt;That didn't sit right with me. Financial data is deeply personal. &lt;/p&gt;

&lt;p&gt;So, I decided to build my own: &lt;strong&gt;Smart Mortgage Calc&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Here is why I built it, the tech stack I used, and the challenges of building financial tools in the browser.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Core Problem: Privacy
&lt;/h3&gt;

&lt;p&gt;When you input your income, your down payment, and your desired loan amount into a standard calculator, where does that data go? Usually, it's sent to a server, stored in a database, and used for targeted advertising. &lt;/p&gt;

&lt;p&gt;I wanted to build a tool where the user has absolute trust. &lt;strong&gt;The data never leaves your browser.&lt;/strong&gt; &lt;/p&gt;

&lt;h3&gt;
  
  
  The Tech Stack
&lt;/h3&gt;

&lt;p&gt;To achieve 100% client-side processing, I kept the stack simple, lightweight, and fast:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Vanilla JavaScript:&lt;/strong&gt; No heavy frameworks like React or Angular. Just pure, fast JS to handle the math.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;HTML5 &amp;amp; CSS3:&lt;/strong&gt; For a clean, responsive UI that works perfectly on mobile (since most users access financial tools on their phones).&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;No Backend (for calculations):&lt;/strong&gt; The math (amortization, extra payments, PMI calculations) is entirely handled by the client's browser. &lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Key Features Built from Scratch
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Standard Amortization Schedule:&lt;/strong&gt; A full breakdown of principal vs. interest over 30 years.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Extra Payment Simulation:&lt;/strong&gt; I wanted users to see exactly how much they save by paying an extra $100 or $200 a month. The math for this is complex, but the visualization is powerful.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Discount Points Break-Even Analysis:&lt;/strong&gt; A feature many people don't understand, so I built a tool to show exactly when buying points makes financial sense.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  The SEO &amp;amp; Performance Challenge
&lt;/h3&gt;

&lt;p&gt;Building a financial tool is one thing; getting it discovered is another. Because the app is client-side, I had to rely heavily on &lt;strong&gt;Semantic HTML&lt;/strong&gt; and &lt;strong&gt;Schema Markup&lt;/strong&gt; to help Google understand what the tool does. I also wrote in-depth blog posts to answer specific user questions (like "How much income do I need for a 400k house?").&lt;br&gt;
&lt;a href="https://smartmortgagecalc.space/extra-payment" rel="noopener noreferrer"&gt;https://smartmortgagecalc.space/extra-payment&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Try It Out
&lt;/h3&gt;

&lt;p&gt;If you are buying a home, refinancing, or just love personal finance, you can check it out here: &lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;smartmortgagecalc.space&lt;/strong&gt; (No sign-ups, no cookies, just pure math).&lt;/p&gt;

&lt;p&gt;I would love to hear your feedback on the UI, the performance, or how I can improve the calculations!&lt;/p&gt;

&lt;h1&gt;
  
  
  javascript #webdev #privacy #fintech #showdev
&lt;/h1&gt;

</description>
      <category>privacy</category>
      <category>softwaredevelopment</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How I Built a Free Mortgage Calculator with 100% Client-Side Privacy</title>
      <dc:creator>jemst7480-del</dc:creator>
      <pubDate>Tue, 29 Sep 2026 11:16:34 +0000</pubDate>
      <link>https://dev.to/jemst7480del/how-i-built-a-free-mortgage-calculator-with-100-client-side-privacy-18i1</link>
      <guid>https://dev.to/jemst7480del/how-i-built-a-free-mortgage-calculator-with-100-client-side-privacy-18i1</guid>
      <description>&lt;p&gt;I built SmartMortgageCalc.space because I was tired of mortgage calculators that ask for your email, sell your data, or hide the real numbers behind lead forms.&lt;/p&gt;

&lt;p&gt;The goal was simple: build a calculator that runs 100% in the browser, with no server-side data storage, and no sign-ups.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Tech Stack:&lt;/strong&gt;&lt;br&gt;
• Google AI Studio (Gemini) for initial development&lt;br&gt;
• Google Cloud Run for hosting&lt;br&gt;
• Cloudflare for DNS and security&lt;br&gt;
• Vanilla JavaScript for calculations&lt;br&gt;
• Chart.js for visualizations&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Privacy Challenge:&lt;/strong&gt;&lt;br&gt;
Most mortgage calculators send your financial data to a server. I wanted to avoid that. The solution: all calculations run client-side using standard amortization formulas. No data leaves the browser.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The SEO Challenge:&lt;/strong&gt;&lt;br&gt;
I needed the site to be discoverable. I implemented:&lt;br&gt;
• Schema.org structured data (WebApplication, FAQPage, HowTo)&lt;br&gt;
• Dynamic sitemap generation&lt;br&gt;
• Core Web Vitals optimization (LCP &amp;lt; 1.5s)&lt;br&gt;
• Internal linking architecture&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Result:&lt;/strong&gt;&lt;br&gt;
A free, fast, privacy-first mortgage calculator that works for US, Canada, and Australia.&lt;/p&gt;

&lt;p&gt;If you're building a tool that handles sensitive data, consider client-side calculations. It's better for users, and it's better for trust.&lt;/p&gt;

&lt;p&gt;Check it out: &lt;a href="https://smartmortgagecalc.space" rel="noopener noreferrer"&gt;https://smartmortgagecalc.space&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>node</category>
      <category>seo</category>
      <category>privacy</category>
    </item>
  </channel>
</rss>
