<?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>Forem: Joshua Karanja</title>
    <description>The latest articles on Forem by Joshua Karanja (@joshuakaranja).</description>
    <link>https://forem.com/joshuakaranja</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3543458%2Fffd32c3a-ea18-4011-b838-37e24d34d46e.jpeg</url>
      <title>Forem: Joshua Karanja</title>
      <link>https://forem.com/joshuakaranja</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/joshuakaranja"/>
    <language>en</language>
    <item>
      <title>Before dawn the 's' has more meaning 
– HTTP: HyperText Transfer Protocol – used for communication between browser &amp; server. 
– HTTPS: Secure version of HTTP using encryption (SSL/TLS).</title>
      <dc:creator>Joshua Karanja</dc:creator>
      <pubDate>Wed, 15 Oct 2025 19:43:19 +0000</pubDate>
      <link>https://forem.com/joshuakaranja/before-dawn-the-s-has-more-meaning-http-hypertext-transfer-protocol-used-for-communication-g9c</link>
      <guid>https://forem.com/joshuakaranja/before-dawn-the-s-has-more-meaning-http-hypertext-transfer-protocol-used-for-communication-g9c</guid>
      <description></description>
    </item>
    <item>
      <title>so one can deploy a project on render only for it to hit you with 404 not found .Question so what was deployed really ?? 😭😭😭</title>
      <dc:creator>Joshua Karanja</dc:creator>
      <pubDate>Tue, 14 Oct 2025 14:22:52 +0000</pubDate>
      <link>https://forem.com/joshuakaranja/so-one-can-deploy-a-project-on-render-only-for-it-to-hit-you-with-404-not-found-question-so-what-1dah</link>
      <guid>https://forem.com/joshuakaranja/so-one-can-deploy-a-project-on-render-only-for-it-to-hit-you-with-404-not-found-question-so-what-1dah</guid>
      <description></description>
    </item>
    <item>
      <title>Deploying a Flask Email API on Render</title>
      <dc:creator>Joshua Karanja</dc:creator>
      <pubDate>Tue, 14 Oct 2025 14:10:49 +0000</pubDate>
      <link>https://forem.com/joshuakaranja/deploying-a-flask-email-api-on-render-1olj</link>
      <guid>https://forem.com/joshuakaranja/deploying-a-flask-email-api-on-render-1olj</guid>
      <description>&lt;p&gt;Built a Flask Email API that sends emails via a POST request, deployed live on Render. Learned how to structure Flask apps, use blueprints, manage environment variables, and run Gunicorn in production.&lt;br&gt;
Testing&lt;/p&gt;

&lt;p&gt;I used Postman to test the endpoints:&lt;/p&gt;

&lt;p&gt;GET / → Returns welcome message&lt;/p&gt;

&lt;p&gt;POST /mail/send → Sends email with JSON payload&lt;/p&gt;

&lt;p&gt;Challenges Faced&lt;/p&gt;

&lt;p&gt;Initially hit 404 errors because the root blueprint wasn’t registered.&lt;/p&gt;

&lt;p&gt;Learned the importance of blueprints and Gunicorn entry point in production.&lt;/p&gt;

&lt;p&gt;Conclusion&lt;/p&gt;

&lt;p&gt;This project was a great hands-on exercise for deploying Flask apps and handling production-ready email APIs. Next steps include adding authentication, logging, and a frontend UI.&lt;/p&gt;

&lt;p&gt;Repo link:&lt;a href="https://github.com/Joshuakaranja/Flask-Mail" rel="noopener noreferrer"&gt;https://github.com/Joshuakaranja/Flask-Mail&lt;/a&gt;&lt;/p&gt;

</description>
      <category>api</category>
      <category>python</category>
      <category>cloud</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
