<?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: Drod2386</title>
    <description>The latest articles on DEV Community by Drod2386 (@drod2386).</description>
    <link>https://dev.to/drod2386</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%2F4251073%2Fdd457b6c-3d0d-4bad-9429-c24a03453ec0.png</url>
      <title>DEV Community: Drod2386</title>
      <link>https://dev.to/drod2386</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/drod2386"/>
    <language>en</language>
    <item>
      <title>How I Built a Financial Literacy App with React, FastAPI, and PostgreSQL</title>
      <dc:creator>Drod2386</dc:creator>
      <pubDate>Wed, 18 Nov 2026 06:01:50 +0000</pubDate>
      <link>https://dev.to/drod2386/how-i-built-a-financial-literacy-app-with-react-fastapi-and-postgresql-293e</link>
      <guid>https://dev.to/drod2386/how-i-built-a-financial-literacy-app-with-react-fastapi-and-postgresql-293e</guid>
      <description>&lt;p&gt;Tags (pick these four): react, python, webdev, beginners&lt;/p&gt;

&lt;p&gt;Body:&lt;/p&gt;

&lt;p&gt;I built Compound, a financial literacy app that teaches things like compound interest, investing basics, and fees through short lessons, quizzes, and calculators. Here's how it's put together and what tripped me up along the way.&lt;/p&gt;

&lt;p&gt;What it does&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;• A lesson path with quizzes that explain why each answer is right
• Calculators for compound interest, DCA, FIRE number, fee impact, mortgage breakdown, inflation hedge, and portfolio building
• Completion certificates
• Family accounts
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The stack&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;• Frontend: React + Vite + Tailwind, deployed on Vercel
• Backend: FastAPI + PostgreSQL, deployed on Railway
• Auth: JWT
• Content loading: a protected /admin/seed endpoint that loads the lessons
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Three things that tripped me up&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;"vite: command not found" on Vercel.&lt;br&gt;
My deploy failed with vite build exited with 127. Exit code 127 means "command not found." My app lives in a frontend/ folder, but Vercel was building from the top of the repo, where there's no package.json, so it never even ran npm install. The fix was one setting: Project Settings → Build and Deployment → Root Directory → frontend.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Keep secrets out of the repo.&lt;br&gt;
I use .env.example files with placeholder values and keep the real values in my host's environment variables. Before sharing the code, I exported a clean copy with git archive and searched it for .env files, keys, and connection strings. It's a quick check and worth doing every time.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Rotate secrets at the source.&lt;br&gt;
After my hosting provider disclosed a security incident, I replaced my keys and passwords. The lesson: changing a value in your dashboard isn't enough. Revoke the old key with whoever issued it, or it may still work.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Try it&lt;/p&gt;

&lt;p&gt;Live demo: &lt;a href="https://compound-frontend-seven.vercel.app" rel="noopener noreferrer"&gt;https://compound-frontend-seven.vercel.app&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you'd like the source code to learn from or start your own project, it's available here (one-project license): &lt;a href="https://dmlrod.gumroad.com/l/hdcon" rel="noopener noreferrer"&gt;https://dmlrod.gumroad.com/l/hdcon&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What would you add? I'd love to hear what other developers would build into a learning app like this.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>python</category>
      <category>react</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
