<?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: Adekunle Ademola</title>
    <description>The latest articles on DEV Community by Adekunle Ademola (@adekunle_ademola_353b1721).</description>
    <link>https://dev.to/adekunle_ademola_353b1721</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%2F2946364%2F6f2292e5-cd74-4538-9200-013ddd33dccd.png</url>
      <title>DEV Community: Adekunle Ademola</title>
      <link>https://dev.to/adekunle_ademola_353b1721</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adekunle_ademola_353b1721"/>
    <language>en</language>
    <item>
      <title>🚀 HNG13 Stage 0 (Backend Track)</title>
      <dc:creator>Adekunle Ademola</dc:creator>
      <pubDate>Thu, 16 Oct 2025 08:06:00 +0000</pubDate>
      <link>https://dev.to/adekunle_ademola_353b1721/hng13-stage-0-backend-track-49lf</link>
      <guid>https://dev.to/adekunle_ademola_353b1721/hng13-stage-0-backend-track-49lf</guid>
      <description>&lt;p&gt;Hey everyone 👋&lt;/p&gt;

&lt;p&gt;I just completed &lt;strong&gt;Stage 0 of the HNG13 Internship (Backend track)&lt;/strong&gt;, and it’s been an awesome start already!&lt;/p&gt;

&lt;p&gt;For our first task, we were asked to build a Dynamic Profile Endpoint API that returns our personal information along with a random cat fact fetched from an external API. 🐱&lt;/p&gt;

&lt;h2&gt;
  
  
  💡 What the task was about
&lt;/h2&gt;

&lt;p&gt;The goal was to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Build a simple backend API with Node.js and Express&lt;/li&gt;
&lt;li&gt;Fetch data from a third-party API (Cat Fact API)&lt;/li&gt;
&lt;li&gt;Return both static and dynamic JSON data&lt;/li&gt;
&lt;li&gt;Implement rate limiting for better security and performance&lt;/li&gt;
&lt;li&gt;Handle errors properly and follow clean API design principles&lt;/li&gt;
&lt;li&gt;This project tested our understanding of APIs, JSON, error handling, and rate limiting; all essential backend skills.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🧰 Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Backend: Node.js / Express&lt;/li&gt;
&lt;li&gt;Rate Limiter: express-rate-limit&lt;/li&gt;
&lt;li&gt;External API: Cat Fact API&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  ⚙️ Setup Guide
&lt;/h2&gt;

&lt;p&gt;To run the project locally:&lt;/p&gt;

&lt;h3&gt;
  
  
  Clone the repository
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git clone https://github.com/Jamal-09/hng_stage_0.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Navigate into the folder
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd hng_stage_0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Install dependencies
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Declare environment variables
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PORT=3000
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Start the development server
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;node server.js
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  🔗 Endpoints
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;GET /&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Returns a welcome message.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "status": "success",
  "message": "Welcome to my dynamic profile API"
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;GET /me&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Returns my profile information, timestamp, and a random cat fact.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "status": "success",
  "user": {
    "email": "napg.adekunle@gmail.com",
    "name": "Jamal Ademola",
    "stack": "Node.js/Express"
  },
  "timestamp": "2025-10-15T19:35:01.868Z",
  "fact": "A group of cats is called a “clowder.”"
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  🌐 Live Demo
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🔗 &lt;a href="https://hngstage0-production-aea4.up.railway.app/" rel="noopener noreferrer"&gt;https://hngstage0-production-aea4.up.railway.app/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🧭 Lessons Learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Working with third-party APIs in Express&lt;/li&gt;
&lt;li&gt;Parsing and returning dynamic JSON responses&lt;/li&gt;
&lt;li&gt;Implementing rate limiting using middleware&lt;/li&gt;
&lt;li&gt;Handling errors and API reliability properly&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  📬 Contact
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;📧 Email: &lt;a href="mailto:napg.adekunle@gmail.com"&gt;napg.adekunle@gmail.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;💬 Slack: Jamal-09&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Built with 💻 &amp;amp; ❤️ by Jamal Ademola&lt;/p&gt;

&lt;p&gt;✅ Stage 0 complete!&lt;br&gt;
Excited for the next challenge at #HNG13 🚀&lt;/p&gt;

</description>
      <category>hng</category>
      <category>backend</category>
      <category>api</category>
      <category>node</category>
    </item>
  </channel>
</rss>
