<?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: Franklyn Nmesoma</title>
    <description>The latest articles on DEV Community by Franklyn Nmesoma (@franklyn_nmesoma).</description>
    <link>https://dev.to/franklyn_nmesoma</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%2F3973027%2Fda7e7825-8f16-4d0b-a392-c5e5486ada65.png</url>
      <title>DEV Community: Franklyn Nmesoma</title>
      <link>https://dev.to/franklyn_nmesoma</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/franklyn_nmesoma"/>
    <language>en</language>
    <item>
      <title>Geo-fencing Wasn't Enough: My Introduction to WebAuthn</title>
      <dc:creator>Franklyn Nmesoma</dc:creator>
      <pubDate>Mon, 16 Nov 2026 16:11:03 +0000</pubDate>
      <link>https://dev.to/franklyn_nmesoma/geo-fencing-wasnt-enough-my-introduction-to-webauthn-43nc</link>
      <guid>https://dev.to/franklyn_nmesoma/geo-fencing-wasnt-enough-my-introduction-to-webauthn-43nc</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F86y1j1r56pno0zdsqnlz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F86y1j1r56pno0zdsqnlz.png" alt="webauth_geofence" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I combined location-based verification and password-less authentication while building an employee attendance tracking system.
&lt;/h2&gt;

&lt;p&gt;Imagine you're building an attendance tracking system for a company.&lt;/p&gt;

&lt;p&gt;The objective seems straightforward: employees should be able to clock in when they arrive at the office, while administrators get a dashboard showing who's present, who's late, and how the organization is doing in terms of attendance.&lt;/p&gt;

&lt;p&gt;Simple enough, right?&lt;/p&gt;

&lt;p&gt;Well, not quite.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fmedia1.tenor.com%2Fm%2FJgPeK_xRHWwAAAAd%2Fshrek-meme.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fmedia1.tenor.com%2Fm%2FJgPeK_xRHWwAAAAd%2Fshrek-meme.gif" alt="Shrek imagine meme" width="251" height="281"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When I started working on an attendance tracking application, I quickly realized that recording someone's arrival time was only part of the problem. I also needed to establish whether the person checking in was actually at the office and, more importantly, whether they were the employee they claimed to be.&lt;/p&gt;

&lt;p&gt;My first question was simple:&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I know an employee is physically within the office premises when they clock in?
&lt;/h2&gt;

&lt;p&gt;There's little point building an attendance tracking system if someone can comfortably sign in from their bedroom while the rest of the team is already at work.&lt;/p&gt;

&lt;p&gt;My first solution was &lt;em&gt;&lt;strong&gt;geo-fencing&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;But solving that problem introduced another one.&lt;/p&gt;

&lt;p&gt;Let's say Employee A is running late and decides to give their login credentials to Employee B, who is already at the office. Employee B logs in on their behalf, and as far as the system is concerned, Employee A has successfully checked in.&lt;/p&gt;

&lt;p&gt;The location is correct. The identity isn't.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.openai.com%2Fstatic-rsc-4%2FqqLnrmfikuCD1M-XVeu-cgW4FkXiH2E_qoPHGk7tS3KnBX3G4AstMW3XOdUY9yxcdH85w5xKYcwTiwH_w5EFKY5Y1uzTE6TfnYFCEZg6ebZXceiuYpGW8ahK-EDappt9i9cJuTQyPpi-3ZvDPh91oadcRssXGFR9jUaUF9ctM1Z8Fra3GPvpfDPeVqAo6GI8%3Fpurpose%3Dfullsize" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.openai.com%2Fstatic-rsc-4%2FqqLnrmfikuCD1M-XVeu-cgW4FkXiH2E_qoPHGk7tS3KnBX3G4AstMW3XOdUY9yxcdH85w5xKYcwTiwH_w5EFKY5Y1uzTE6TfnYFCEZg6ebZXceiuYpGW8ahK-EDappt9i9cJuTQyPpi-3ZvDPh91oadcRssXGFR9jUaUF9ctM1Z8Fra3GPvpfDPeVqAo6GI8%3Fpurpose%3Dfullsize" alt="Shrek imagine meme" width="1672" height="941"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That got me thinking: How do I verify not just where someone is, but whether they're actually the person they're claiming to be?&lt;/p&gt;

&lt;p&gt;That's how I came across WebAuthn.&lt;/p&gt;

&lt;p&gt;In this article, I'll walk you through how &lt;em&gt;&lt;strong&gt;geofencing&lt;/strong&gt;&lt;/em&gt; and &lt;em&gt;&lt;strong&gt;WebAuthn&lt;/strong&gt;&lt;/em&gt; work, why I considered combining them for my attendance tracking application, and some things worth considering before introducing either technology into your next project.&lt;/p&gt;

&lt;p&gt;Let's get into it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Understanding WebAuthn: Authentication Without Passwords
&lt;/h2&gt;

&lt;p&gt;You've probably spent time browsing websites, making payments, streaming music, or watching videos. More often than not, when you need to sign in, a website asks you to provide your email address and password.&lt;/p&gt;

&lt;p&gt;That's the traditional password-based authentication model.&lt;/p&gt;

&lt;p&gt;However, you've probably also encountered services that allow you to sign in without manually entering a password. Instead, they might ask you to use your fingerprint, face recognition, a device PIN, or a security key.&lt;/p&gt;

&lt;p&gt;So, how does that work?&lt;/p&gt;

&lt;p&gt;To understand this, let's talk about your smart devices: your smartphone, tablet, laptop, and other devices.&lt;/p&gt;

&lt;p&gt;These devices contain built-in security mechanisms, such as secure hardware or operating-system-managed authenticators, that can generate and protect cryptographic credentials.&lt;/p&gt;

&lt;p&gt;This brings me to the question: &lt;/p&gt;

&lt;h2&gt;
  
  
  What exactly is WebAuthn, and what does it have to do with all this?
&lt;/h2&gt;

&lt;p&gt;WebAuthn, short for &lt;strong&gt;Web Authentication&lt;/strong&gt;, is a web standard developed through the W3C and FIDO ecosystem. It allows web applications to authenticate users using public-key cryptography rather than relying exclusively on passwords.&lt;/p&gt;

&lt;p&gt;In simple terms, instead of proving who you are by sending a password to a website, your device proves that it has access to a cryptographic private key associated with your account.&lt;/p&gt;

&lt;p&gt;That probably sounds like a lot of technical mumbo jumbo, so let's break it down.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Registration&lt;/strong&gt;: Generating a Key Pair&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.openai.com%2Fstatic-rsc-4%2FOd7iXIVue7kyDv7jTygSUBcNRlqHF1h2UB4Rmy_K7OgEsI0-JAM_jz6wyr8Wa-mnRNLHU4K2Erc4whDPbzwVq7r9EDJtX4892WgqHo9IzKxkMSSgPdVykbhACnxwKNZoqWtJnbXQRNaIWlrIcuW-G_6BAuOEMa-Z8unNHVwd0mi_M58ZcdSr1MPJT8pFT04L%3Fpurpose%3Dfullsize" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.openai.com%2Fstatic-rsc-4%2FOd7iXIVue7kyDv7jTygSUBcNRlqHF1h2UB4Rmy_K7OgEsI0-JAM_jz6wyr8Wa-mnRNLHU4K2Erc4whDPbzwVq7r9EDJtX4892WgqHo9IzKxkMSSgPdVykbhACnxwKNZoqWtJnbXQRNaIWlrIcuW-G_6BAuOEMa-Z8unNHVwd0mi_M58ZcdSr1MPJT8pFT04L%3Fpurpose%3Dfullsize" alt="Shrek imagine meme" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When you register a WebAuthn credential on a website, your authenticator generates a cryptographic key pair:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Private key&lt;/strong&gt;: This stays protected by the authenticator and is used to sign authentication challenges.&lt;br&gt;
&lt;strong&gt;Public key&lt;/strong&gt;: This is sent to the website and stored on its server.&lt;/p&gt;

&lt;p&gt;Think of the public key as something the website can use to verify your identity, while the private key is the secret that allows your authenticator to prove possession of the credential.&lt;/p&gt;

&lt;p&gt;The important thing to understand is that the private key is not sent to the website.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Authentication&lt;/strong&gt;: Proving Possession of the Private Key&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;When you want to log in, the website generates a random cryptographic challenge and sends it to your browser.&lt;/p&gt;

&lt;p&gt;Your authenticator uses the corresponding private key to sign that challenge.&lt;/p&gt;

&lt;p&gt;The signed response is then sent back to the website, where the server verifies it using the public key stored during registration.&lt;/p&gt;

&lt;p&gt;If the signature is valid and the other authentication checks pass, the website can establish that the authentication request was signed using the private key associated with that credential.&lt;/p&gt;

&lt;p&gt;In other words, the website doesn't need to know your private key. It only needs to verify the signature.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Hardware and Biometrics&lt;/strong&gt;: How Do You Actually Authenticate?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is probably the part you're most familiar with.&lt;/p&gt;

&lt;p&gt;When using WebAuthn, authentication can involve your device's built-in security features, such as:&lt;/p&gt;

&lt;p&gt;Fingerprint recognition (Touch ID or Android bio-metrics).&lt;br&gt;
Facial recognition (Face ID or Windows Hello).&lt;br&gt;
A device PIN.&lt;br&gt;
An external physical security key, such as a YubiKey.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.openai.com%2Fstatic-rsc-4%2FpqptrzQztHkaCZOHGOpDcIIYSOhXpDG92i492TtWz3lUSWgss5WmSrQ9Veqd5RKU2MQvk0ydBljzXRoSK1VNu-MXz3MD7rwWuO7TEptQ0vT1Q43ZctK0qTd4trH0aLuTCUZahlNd0s8v8xhBgCJUsKnOADhKCqwGRNdbKbw1HRr31RzsH849PPogB1fL4uE4%3Fpurpose%3Dfullsize" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.openai.com%2Fstatic-rsc-4%2FpqptrzQztHkaCZOHGOpDcIIYSOhXpDG92i492TtWz3lUSWgss5WmSrQ9Veqd5RKU2MQvk0ydBljzXRoSK1VNu-MXz3MD7rwWuO7TEptQ0vT1Q43ZctK0qTd4trH0aLuTCUZahlNd0s8v8xhBgCJUsKnOADhKCqwGRNdbKbw1HRr31RzsH849PPogB1fL4uE4%3Fpurpose%3Dfullsize" alt="Biometrics" width="1536" height="1024"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;These mechanisms help the authenticator verify that someone is authorized to use the credential.&lt;/p&gt;

&lt;p&gt;Here's an important distinction: WebAuthn doesn't necessarily receive or process your fingerprint or facial data. Bio-metric verification typically happens locally on the device or authenticator. Your application receives the cryptographic authentication result, not the employee's bio-metric information.&lt;/p&gt;

&lt;p&gt;Also, not every WebAuthn authentication requires bio-metrics. Depending on the authenticator and its configuration, a PIN or another verification mechanism may be used.&lt;/p&gt;

&lt;p&gt;That's the beauty of WebAuthn. It allows applications to rely on strong cryptographic authentication without having to collect or store users' passwords.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;And if you've found this article insightful so far, leave a heart (reaction) and a comment. It encourages me to keep writing. Don't forget to share it, too. Someone in your network might need this!&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why WebAuthn Instead of the Traditional Email and Password Combination?
&lt;/h2&gt;

&lt;p&gt;You might be wondering why I would introduce WebAuthn when a traditional email and password combination could do the job.&lt;/p&gt;

&lt;p&gt;Well, let me explain how I arrived at that decision.&lt;/p&gt;

&lt;p&gt;You see, I was given a task to build an attendance tracking application.&lt;/p&gt;

&lt;p&gt;If you work in a corporate environment, you probably understand how attendance tracking works. If you don't, here's some context.&lt;/p&gt;

&lt;p&gt;Organizations often need to keep records of when employees arrive at work. These records help management monitor attendance, identify lateness, and get an overview of general office activity.&lt;/p&gt;

&lt;p&gt;Traditionally, some organizations rely on attendance registers where employees manually write down their arrival times.&lt;/p&gt;

&lt;p&gt;But there's a problem with that approach: anyone can write down almost any time, provided nobody catches them.&lt;/p&gt;

&lt;p&gt;The goal of the application was to eliminate that unnecessary manual process, make attendance records more reliable, and provide administrators with a dashboard where they could monitor employee attendance at a glance.&lt;/p&gt;

&lt;p&gt;When I started building it, my first concern was location.&lt;/p&gt;

&lt;p&gt;How do I ensure that employees can only clock in when they're actually within the office premises?&lt;/p&gt;

&lt;p&gt;What's the point of having an attendance tracking application if employees can sign in from their homes?&lt;/p&gt;

&lt;p&gt;That's where Geo-fencing came in.&lt;/p&gt;

&lt;h2&gt;
  
  
  Geo-fencing: Making Location Part of the Authentication Process
&lt;/h2&gt;

&lt;p&gt;So, what exactly is Geo-fencing?&lt;/p&gt;

&lt;p&gt;Geo-fencing is a location-based technology that creates a virtual boundary around a real-world geographical area.&lt;/p&gt;

&lt;p&gt;When a device enters or leaves that boundary, an application can detect the event and trigger a predefined action.&lt;/p&gt;

&lt;p&gt;For example, imagine creating a virtual boundary around your office premises. Whenever an employee attempts to clock in, the application checks their current location against the office's predefined coordinates.&lt;/p&gt;

&lt;p&gt;If they're within the permitted boundary, the application allows them to proceed. Otherwise, the check-in request is rejected.&lt;/p&gt;

&lt;p&gt;That was exactly what I wanted.&lt;/p&gt;

&lt;p&gt;I needed a way to prevent employees from checking in unless they were physically present at the office.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.openai.com%2Fstatic-rsc-4%2FjGowwhNPHSXXrCFl6y5BOi5bnaP8ggGyv4AENX3HutwY3nVlwFRejB-enarq4imflCdKvpOx9U5b4wHJCl5vG9cIlAk9Fj7R7ipsB7cd_cGhQGX7TZcQVtQfd58kB_gX34vlQt3vF5dst0ecA-jeieJHDfyykeLqSutbkvHwZsmzF6B4-XHdlZOe7xuuLriB%3Fpurpose%3Dfullsize" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.openai.com%2Fstatic-rsc-4%2FjGowwhNPHSXXrCFl6y5BOi5bnaP8ggGyv4AENX3HutwY3nVlwFRejB-enarq4imflCdKvpOx9U5b4wHJCl5vG9cIlAk9Fj7R7ipsB7cd_cGhQGX7TZcQVtQfd58kB_gX34vlQt3vF5dst0ecA-jeieJHDfyykeLqSutbkvHwZsmzF6B4-XHdlZOe7xuuLriB%3Fpurpose%3Dfullsize" alt="geo-fencing" width="1586" height="1136"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Implementing Geo-fencing
&lt;/h2&gt;

&lt;p&gt;I won't go into the entire development process, but if you're considering implementing something similar in your next project, there are a few things worth knowing.&lt;/p&gt;

&lt;p&gt;First, you'll need a way to store the office's geographical coordinates and the configuration required for your location checks.&lt;/p&gt;

&lt;p&gt;For my implementation, I worked with predefined environment variables:&lt;/p&gt;

&lt;p&gt;LAT: The office's latitude.&lt;br&gt;
LONG: The office's longitude.&lt;br&gt;
ACCURACY: The acceptable location accuracy threshold.&lt;br&gt;
RADIUS_METERS: The permitted distance from the office coordinates.&lt;/p&gt;

&lt;p&gt;You'll also need to obtain the employee's current geographical coordinates when they attempt to clock in.&lt;/p&gt;

&lt;p&gt;For distance calculation, I used the &lt;strong&gt;Haversine formula&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;If you're unfamiliar with it, the Haversine formula calculates the great-circle distance between two points on the surface of a sphere using their latitude and longitude coordinates.&lt;/p&gt;

&lt;p&gt;In this case, it helps determine how far an employee's reported location is from the office.&lt;/p&gt;

&lt;p&gt;The application can then compare that distance against the predefined radius.&lt;/p&gt;

&lt;p&gt;If the employee's location falls within the permitted radius, the location check passes.&lt;/p&gt;

&lt;p&gt;If it falls outside the radius, the application rejects the check-in attempt.&lt;/p&gt;

&lt;p&gt;It took a little bit of tinkering because I was working with CakePHP, but after some time, I got it working.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.openai.com%2Fstatic-rsc-4%2FgCwdDLYxKXcAXjDSKzNObYBllpcHmW16hCmeXPgpC-EzY1XHqUwpYLE1dmCn9mdxBe2iO8m1Wu9l_M52nyVbZe26QLPRhf8cnR5BX_JC2Ypab_8x5ISLp6AyPt1eccg8CrSX2zuUpYa74BlkjR7LjbTdABdLscBNn8W3ttiEOAbHojxfteuSEAxfEUirRg1x%3Fpurpose%3Dfullsize" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.openai.com%2Fstatic-rsc-4%2FgCwdDLYxKXcAXjDSKzNObYBllpcHmW16hCmeXPgpC-EzY1XHqUwpYLE1dmCn9mdxBe2iO8m1Wu9l_M52nyVbZe26QLPRhf8cnR5BX_JC2Ypab_8x5ISLp6AyPt1eccg8CrSX2zuUpYa74BlkjR7LjbTdABdLscBNn8W3ttiEOAbHojxfteuSEAxfEUirRg1x%3Fpurpose%3Dfullsize" alt="Haversine formula" width="708" height="517"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Problem solved, right?&lt;/p&gt;

&lt;p&gt;Not quite.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem with Location: Who Is Actually Checking In?
&lt;/h2&gt;

&lt;p&gt;After getting Geo-fencing to work, another question came to mind.&lt;/p&gt;

&lt;p&gt;Let's assume we have two employees, A and B.&lt;/p&gt;

&lt;p&gt;Employee A is running late and decides to give Employee B their login credentials so B can check in on their behalf.&lt;/p&gt;

&lt;p&gt;Employee B is already at the office, so they log in using A's credentials.&lt;/p&gt;

&lt;p&gt;The location check passes because B is physically within the office premises.&lt;/p&gt;

&lt;p&gt;The login succeeds because B has A's credentials.&lt;/p&gt;

&lt;p&gt;But Employee A isn't actually there.&lt;/p&gt;

&lt;p&gt;See the problem?&lt;/p&gt;

&lt;p&gt;Geo-fencing had successfully answered one question:&lt;/p&gt;

&lt;p&gt;Is the device being used to check in within the office's geographical boundary?&lt;/p&gt;

&lt;p&gt;But it couldn't reliably answer another:&lt;/p&gt;

&lt;p&gt;Is the person checking in actually the employee associated with the account?&lt;/p&gt;

&lt;p&gt;I realized that I needed another layer of verification.&lt;/p&gt;

&lt;p&gt;I also started thinking about restricting employees to a limited number of registered devices.&lt;/p&gt;

&lt;p&gt;That was when I discovered WebAuthn and began exploring how I could use it to strengthen the authentication process.&lt;/p&gt;

&lt;p&gt;Now we're all caught up.&lt;/p&gt;

&lt;h2&gt;
  
  
  Combining Geo-fencing and WebAuthn
&lt;/h2&gt;

&lt;p&gt;At this point, the idea was to use both technologies to address two different aspects of the attendance tracking problem.&lt;/p&gt;

&lt;p&gt;Geo-fencing would help establish whether the device was within the permitted office area.&lt;/p&gt;

&lt;p&gt;WebAuthn would provide stronger authentication by requiring the employee to prove possession of a registered cryptographic credential.&lt;/p&gt;

&lt;p&gt;Here's how the process could work:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;An employee opens the attendance application and attempts to clock in.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The application requests the device's current geographical location.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The backend checks the reported coordinates against the office's predefined location and permitted radius.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If the location check passes, the application initiates a WebAuthn authentication challenge.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The employee authenticates using their registered authenticator, such as a fingerprint, device PIN, facial recognition, or security key.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The backend verifies the signed response using the employee's registered public key.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If both checks pass, the application records the employee's attendance.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The result is a system that checks both location and possession of a registered authentication credential.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.openai.com%2Fstatic-rsc-4%2F8vIRmxSt8nBBlhlPp8TPpNXbZagH-ZhodCHxf5wmejsAL9QOPx-zwEqLMOOLCv9cTu5d0m0NvYNDDrxXhhK2uNYc3oF2gEqoBDdaI8HAOSi0HDBlTWBEiqdygZRpyPjXoNclA8_u0iX8H57yl25vzqK-BC4im6B78sZOZPClTyXkcs9bkmoP76qWWwCIG5hH%3Fpurpose%3Dfullsize" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.openai.com%2Fstatic-rsc-4%2F8vIRmxSt8nBBlhlPp8TPpNXbZagH-ZhodCHxf5wmejsAL9QOPx-zwEqLMOOLCv9cTu5d0m0NvYNDDrxXhhK2uNYc3oF2gEqoBDdaI8HAOSi0HDBlTWBEiqdygZRpyPjXoNclA8_u0iX8H57yl25vzqK-BC4im6B78sZOZPClTyXkcs9bkmoP76qWWwCIG5hH%3Fpurpose%3Dfullsize" alt="Shrek imagine meme" width="1536" height="1024"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;However, there's an important distinction worth making here.&lt;/p&gt;

&lt;p&gt;WebAuthn doesn't magically establish a person's real-world identity. It proves that the authentication request was authorized using a registered credential and, when configured appropriately, that the authenticator performed user verification.&lt;/p&gt;

&lt;p&gt;If an employee shares their unlocked device or someone else can satisfy its authentication requirements, impersonation may still be possible.&lt;/p&gt;

&lt;p&gt;So, while WebAuthn significantly strengthens authentication, it shouldn't be treated as an absolute guarantee that the account owner is physically holding the device.&lt;/p&gt;

&lt;h2&gt;
  
  
  Does WebAuthn Actually Restrict Employees to One Device?
&lt;/h2&gt;

&lt;p&gt;This is another important consideration.&lt;/p&gt;

&lt;p&gt;One of the reasons I became interested in WebAuthn was the possibility of limiting employees to registered devices.&lt;/p&gt;

&lt;p&gt;However, there's a technical distinction worth understanding.&lt;/p&gt;

&lt;p&gt;A WebAuthn credential is not simply a hardware ID that uniquely identifies a smartphone or laptop.&lt;/p&gt;

&lt;p&gt;It's a cryptographic credential associated with a relying party (the website or application requesting authentication).&lt;/p&gt;

&lt;p&gt;An employee can potentially register multiple credentials, and some passkeys can be synchronized across multiple devices through a platform's credential-management ecosystem.&lt;/p&gt;

&lt;p&gt;This means that simply implementing WebAuthn does not automatically enforce a one-device-per-employee policy.&lt;/p&gt;

&lt;p&gt;If restricting device usage is a requirement, you'll need to design an appropriate credential-registration and management policy.&lt;/p&gt;

&lt;p&gt;For example, you could:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Limit the number of active credentials registered to each employee(an extra approach I took).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Require administrative approval before registering a replacement device.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Allow employees to revoke lost or compromised credentials.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Consider device-bound credentials where supported and appropriate for your environment.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Evaluate authenticator attestation if you have a genuine requirement to enforce particular authenticator characteristics, while considering its compatibility and privacy implications.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The important thing is to understand that WebAuthn provides the cryptographic authentication mechanism. Your application still needs to implement the business rules around which credentials employees are allowed to use.&lt;/p&gt;

&lt;h2&gt;
  
  
  When Should You Consider Using WebAuthn?
&lt;/h2&gt;

&lt;p&gt;Now that we've established what WebAuthn does and how it fits into my use case, let's look at some situations where it might make sense to introduce it into your own projects.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Password-less Sign-In (Passkeys)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you want users to sign in without remembering or manually entering passwords, WebAuthn is worth considering.&lt;/p&gt;

&lt;p&gt;With passkeys, users can authenticate using supported bio-metrics, a device PIN, or a physical security key.&lt;/p&gt;

&lt;p&gt;This reduces dependence on traditional passwords and makes the login experience more convenient.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Phishing-Resistant Multi-Factor Authentication&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Traditional authentication methods, such as SMS one-time passwords (OTPs), can be vulnerable to phishing and interception.&lt;/p&gt;

&lt;p&gt;WebAuthn offers strong phishing resistance because credentials are scoped to the website's relying-party identity.&lt;/p&gt;

&lt;p&gt;In simple terms, a credential registered for your legitimate website cannot normally be used by a fake website pretending to be yours.&lt;/p&gt;

&lt;p&gt;This makes WebAuthn a particularly useful option when building applications that require stronger authentication.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Enterprise and High-Security Applications&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;WebAuthn is also useful in environments where access to sensitive information or systems needs to be carefully controlled.&lt;/p&gt;

&lt;p&gt;Examples include:&lt;/p&gt;

&lt;p&gt;Corporate applications.&lt;br&gt;
Internal administrative dashboards.&lt;br&gt;
Enterprise identity systems.&lt;br&gt;
Customer portals containing sensitive information.&lt;br&gt;
Systems that support hardware security keys, such as YubiKeys.&lt;/p&gt;

&lt;p&gt;In these environments, WebAuthn can provide a stronger authentication foundation than password-only login.&lt;/p&gt;

&lt;p&gt;Things to Consider Before Combining Geo-fencing and WebAuthn&lt;/p&gt;

&lt;p&gt;Like every other technology, geo-fencing and WebAuthn come with their own trade-offs.&lt;/p&gt;

&lt;p&gt;Before introducing them into your next project, there are a few things worth considering.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Location Data Isn't Always Accurate&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Geo-fencing depends on location information provided by a device.&lt;/p&gt;

&lt;p&gt;However, GPS accuracy can vary depending on the environment. Buildings, poor satellite visibility, network conditions, and indoor positioning limitations can affect the reported coordinates.&lt;/p&gt;

&lt;p&gt;The browser's Geo-location API also doesn't guarantee that the location it returns is the device's actual physical location.&lt;/p&gt;

&lt;p&gt;Depending on the threat model, location data can also be manipulated.&lt;/p&gt;

&lt;p&gt;This means you shouldn't blindly trust a location response simply because it falls within your predefined radius.&lt;/p&gt;

&lt;p&gt;Consider checking the reported accuracy, rejecting stale location readings, and introducing additional safeguards where necessary.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;WebAuthn Doesn't Guarantee the Human Identity&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;WebAuthn proves possession of a cryptographic credential and can require local user verification.&lt;/p&gt;

&lt;p&gt;However, it doesn't independently establish that the person using the authenticator is the employee whose account is being accessed.&lt;/p&gt;

&lt;p&gt;For example, an employee could share an unlocked device with someone else, or another person could know the device PIN.&lt;/p&gt;

&lt;p&gt;It's important to understand what WebAuthn guarantees and what remains the responsibility of your application.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Device Compatibility and Credential Management&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Not all devices and browsers offer exactly the same authentication capabilities.&lt;/p&gt;

&lt;p&gt;Some employees might use older devices, while others might have different operating systems or authenticators.&lt;/p&gt;

&lt;p&gt;You'll also need to think about what happens when an employee loses their device, changes phones, or needs to register a replacement security key.&lt;/p&gt;

&lt;p&gt;Having a recovery and credential-revocation process is just as important as implementing the authentication flow itself.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Privacy and Employee Experience&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Location tracking and authentication introduce privacy considerations, particularly in workplace environments.&lt;/p&gt;

&lt;p&gt;Employees should understand what location information is collected, when it's collected, why it's needed, and how long it's retained.&lt;/p&gt;

&lt;p&gt;Ideally, location should only be requested when it's necessary for the attendance process rather than continuously tracking employees throughout the day.&lt;/p&gt;

&lt;p&gt;You should also consider how the application handles employees whose devices cannot obtain sufficiently accurate location readings.&lt;/p&gt;

&lt;p&gt;After all, the goal is to improve attendance management, not create unnecessary frustration for employees.&lt;/p&gt;

&lt;p&gt;So, Should You Use WebAuthn and Geo-fencing?&lt;/p&gt;

&lt;p&gt;Well, that depends.&lt;/p&gt;

&lt;p&gt;Like every other technology, WebAuthn and geo-fencing have their strengths and limitations.&lt;/p&gt;

&lt;p&gt;They introduce additional implementation considerations, compatibility requirements, and, in some cases, operational complexity.&lt;/p&gt;

&lt;p&gt;The goal shouldn't be to use a technology simply because it's new, popular, or sounds impressive on your tech stack.&lt;/p&gt;

&lt;p&gt;Instead, understand the problem you're trying to solve and determine whether the technology actually addresses it.&lt;/p&gt;

&lt;p&gt;In my case, Geo-fencing helped address the question of location, while WebAuthn introduced a stronger way to authenticate employees without relying on shared passwords.&lt;/p&gt;

&lt;p&gt;Together, they provide useful building blocks for a more trustworthy attendance tracking system.&lt;/p&gt;

&lt;p&gt;But neither is a silver bullet.&lt;/p&gt;

&lt;p&gt;Geo-fencing doesn't guarantee that a device is physically where it claims to be, and WebAuthn doesn't guarantee that the person authenticating is the rightful owner of the account.&lt;/p&gt;

&lt;p&gt;What they do is reduce different categories of risk when implemented correctly.&lt;/p&gt;

&lt;p&gt;And that's really the lesson here:&lt;/p&gt;

&lt;p&gt;Security isn't just about knowing where a request comes from. It's also about establishing who is making that request and whether they're authorized to make it.&lt;/p&gt;

&lt;p&gt;I'd love to hear your thoughts!&lt;/p&gt;

&lt;p&gt;Have you worked with WebAuthn or geo-fencing before? Have you implemented either technology in a real-world application? If you have, what challenges did you encounter?&lt;/p&gt;

&lt;p&gt;Feel free to share your experiences, suggestions, or even alternative approaches in the comments.&lt;/p&gt;

&lt;p&gt;If you found this article helpful, leave a heart and share it with someone who might find it useful, too.&lt;/p&gt;

&lt;p&gt;See you in the next one! 😁&lt;/p&gt;

</description>
      <category>passwordlessauthentication</category>
      <category>security</category>
      <category>authentication</category>
      <category>programming</category>
    </item>
    <item>
      <title>What Should I Do to Stand Out in Tech?</title>
      <dc:creator>Franklyn Nmesoma</dc:creator>
      <pubDate>Wed, 11 Nov 2026 11:09:18 +0000</pubDate>
      <link>https://dev.to/franklyn_nmesoma/what-should-i-do-to-stand-out-in-tech-2bog</link>
      <guid>https://dev.to/franklyn_nmesoma/what-should-i-do-to-stand-out-in-tech-2bog</guid>
      <description>&lt;p&gt;Let's be honest with each other, developers, vibe-coders, and techies alike. The tech market out there is really rough. Companies are laying off their staff, creating more competition and making it difficult for new developers to get their foot in the door, especially when you're likely to be competing against people with years of experience (I'm talking about 10 years' worth).&lt;/p&gt;

&lt;p&gt;Not just that, AI is making it wayyy easier for anyone to catch the eye since literally anyone can do almost anything with AI. People are using AI to create their resumes, build new projects, create workflows, automate tasks, and generally stand out. This, in turn, raises the standard for everyone.&lt;/p&gt;

&lt;p&gt;As a techie who has been in the AI space before and during the AI era, I have seen this happen in real time. It is quite interesting and freaky when you think about how fast tech is moving. While I can't say I wasn't expecting some evolution in the tech space, I didn't think technology could change this much in just a few years.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvpvvdptkvo6auopvskg8.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvpvvdptkvo6auopvskg8.gif" alt="surprised guy" width="194" height="228"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I've recently been thinking about those who are trying to get their first job in tech, or even those currently looking to land a job or role. This includes people who are already deep in the tech space as well as those who are just getting started. Either way, the market is tough, especially for beginners and newcomers.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Medusa Solution
&lt;/h2&gt;

&lt;p&gt;Yeah, you thought right.. there's no single answer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpvrq0kqb7b7iewwd8sm3.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpvrq0kqb7b7iewwd8sm3.jpg" alt="medusa solution" width="398" height="502"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Before AI, the general advice was to build projects that demonstrated what you were learning. So, you could build calculator apps, consume weather APIs, etc. This was usually provided you were using the tech stack companies were working with, or even grinding LeetCode problems.&lt;/p&gt;

&lt;p&gt;Now, with AI, you can do all of these things really quickly. Regardless of the project, it can be vibe-coded in seconds. The tech stack doesn't really matter here if you can vibe-code it and solve LeetCode problems well.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F98b03daugqp7sz9pdpuc.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F98b03daugqp7sz9pdpuc.jpeg" alt="ai meme" width="800" height="991"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The point I'm trying to make is that the advice on standing out in tech changes with time. And it changes so quickly that it's actually hard to determine which advice is &lt;strong&gt;"correct"&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It's difficult to know whether the advice was useful because you don't really get feedback, especially during actual interviews, since you're more likely to get ghosted or rejected.&lt;/p&gt;

&lt;p&gt;Yes, you could argue that you can get feedback on your friends' resumes, do mock interviews, and so on. However, their advice is mostly based on their experiences (just like mine is). And everyone's experience is different, so what are the chances that the same thing that happened to me will happen to you too?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You see, the experience might not apply to the same situation or scenario.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq3bpqr8notrwposz90e5.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq3bpqr8notrwposz90e5.gif" alt="different_experience" width="498" height="266"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Following the Herd (Not the Dead 😅, walking dead fans will relate better)
&lt;/h2&gt;

&lt;p&gt;Let me bring in a couple of analogies that I hope will best demonstrate the tech market right now.&lt;/p&gt;

&lt;p&gt;I'll assume that a lot of us reading this have interacted with TikTok at some point in our lives. You know how you check in one day and there's a trending sound, a dance challenge, or something else, and everyone is hopping on it. A couple of days later, you check back in and there's a different trend, a new sound, or a new dance step.&lt;/p&gt;

&lt;p&gt;One I clearly remember is the viral TikTok sound trend, Papaoutai, from earlier this year (there were a lot of videos using the sound).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbqxiqhylcesuyykkpc2x.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbqxiqhylcesuyykkpc2x.gif" alt="trend" width="200" height="131"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, let's bring this analogy into the tech market.&lt;/p&gt;

&lt;p&gt;You listen to what everyone else is saying, and you start taking that advice. Maybe you hear that everyone (the walkers, sorry, another Walking Dead reference) is moving towards Python. You end up joining them and becoming a walker yourself, heading towards Python, picking up a lot of skills and building projects along the way.&lt;/p&gt;

&lt;p&gt;Then the word spreads that the walkers are switching to JavaScript. Now you pick up JavaScript skills and still build projects with your time and effort... again.&lt;/p&gt;

&lt;p&gt;Do you see it now? I hope you do. 😅&lt;/p&gt;

&lt;p&gt;The problem isn't that you're bad. The problem is that you're doing what everyone else is doing (walking, sorry 😁). &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmddzr24oyl2hu2bkldoo.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmddzr24oyl2hu2bkldoo.gif" alt="walkers" width="372" height="200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You should be doing you.&lt;/p&gt;

&lt;p&gt;It doesn't have to be in tech alone or even involve a programming language. It could be anything. That new instrument you're learning to play, or driving (I'm kidding. Drive safe, please).&lt;/p&gt;

&lt;p&gt;Blending into a fast-paced tech market makes things a tad more dangerous because we blindly follow advice due to FOMO, or, in this case, the Fear Of Not Falling Behind (FONFB).&lt;/p&gt;

&lt;p&gt;This could range from hoping to find a tech job before graduation to finding a tech job just to pay for necessities.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Point?
&lt;/h2&gt;

&lt;p&gt;AI can do anything, the job market is cooked (maybe you are too), and tech is moving fast.&lt;/p&gt;

&lt;p&gt;This sounds hopeless, for sure. Because how can you stay up to date when things are moving this quickly?&lt;/p&gt;

&lt;p&gt;You don't.&lt;/p&gt;

&lt;p&gt;Maybe the top 1% can. However, I've seen a lot of individuals who have successfully accomplished their goals in tech despite the seemingly impossible odds. A couple of people I know have gotten their first roles in tech despite the AI era, while others who were seeking employment eventually found other roles in tech.&lt;/p&gt;

&lt;p&gt;Either way, they're not perfect.&lt;/p&gt;

&lt;p&gt;They just know what to look out for because they know themselves and what works for them.&lt;/p&gt;

&lt;p&gt;Early on when I started, I fell into the mistake of following what everyone else was doing. From making sure my GitHub contribution graph was all green to ensuring my resume followed some sort of pattern, I was always trying to keep up.&lt;/p&gt;

&lt;p&gt;If I heard someone talk about something that worked for them, I would immediately assume and hope that it would work for me too. Which, as you might have guessed, it didn't.&lt;/p&gt;

&lt;p&gt;I realised later, even recently, that I've been doing what everyone else is doing. If you think about it, you're not really standing out if everyone else is doing the same thing.&lt;/p&gt;

&lt;p&gt;I realised that the question was never, "What do I need to do to stand out?"&lt;/p&gt;

&lt;p&gt;It's &lt;strong&gt;"What do I need to do to stand out?"&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;More importantly, &lt;strong&gt;what do I need to do for myself to stand out?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Although there's no clear answer to how you can stand out in tech, there are a few things you can think about to help you get a good start. These steps are in no particular order, and they're based on what has helped me.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Self-reflection!
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0dk70tw3br2jevj5szxi.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0dk70tw3br2jevj5szxi.jpg" alt="self-reflection" width="399" height="501"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This comes first because, to stand out, you must first admit that you're not as good as you think you are, and that there is something new worth learning.&lt;/p&gt;

&lt;p&gt;There's a video I'll share that I believe best describes how things feel in the tech market:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=BSmLRK0liVg" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=BSmLRK0liVg&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So, for this section, I'll leave you with this:&lt;/p&gt;

&lt;p&gt;There are only two ways people change:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Through deep self-reflection.&lt;/li&gt;
&lt;li&gt;When they're forced to change by circumstance.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Unfortunately, a lot of people would rather do the bare minimum just to get by. A great example would be students doing the bare minimum just to get a degree.&lt;/p&gt;

&lt;p&gt;No internships, no certifications, no projects, no connections...&lt;/p&gt;

&lt;p&gt;Maybe it worked in the 1900s, but not today. The stakes have never been higher, and it's expected that each individual will do more than what's required of them.&lt;/p&gt;

&lt;p&gt;A good start is to think about what you want to be like in five years.&lt;/p&gt;

&lt;p&gt;I know a lot of us don't like asking questions like this because we expect there to be a correct answer. But the truth is, you don't have to have one.&lt;/p&gt;

&lt;p&gt;Just think about it: &lt;strong&gt;"If I bring my current knowledge, as it is, into the next five years, will I be satisfied?"&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Take Advice with a Grain of Salt, Regardless of How Useful It May Sound!
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbww441zj5tbr93w9k2ot.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbww441zj5tbr93w9k2ot.jpg" alt="advice" width="447" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is really important. The advice given to you will most likely not always fit what you need it for.&lt;/p&gt;

&lt;p&gt;I used to think decorating your resume would help applicants stand out in the tech market. Although that's true to some extent, I've come to realize that it doesn't always apply to the tech market.&lt;/p&gt;

&lt;p&gt;Decorating your resume might cause an ATS not to parse it properly, which could lead to rejections even when you're qualified for the position.&lt;/p&gt;

&lt;p&gt;What I'm saying is this: if you're given advice, stop and actually think about it before acting on it. If it eventually doesn't work for you or benefit you, don't do it. Find an alternative.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Have Something Ready to Show. In Essence, Don't Just Walk, BUILD!
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn8k2r04u4cl82fup29jj.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn8k2r04u4cl82fup29jj.jpg" alt="build" width="320" height="625"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Yeah, I don't think I can overemphasize this enough.&lt;/p&gt;

&lt;p&gt;You should build and keep building. However, when I say build, I don't mean creating another calculator application or consuming a weather API. Trust me, recruiters have seen plenty of those and are probably tired of seeing them.&lt;/p&gt;

&lt;p&gt;Build something that can demonstrate your capabilities to a recruiter.&lt;/p&gt;

&lt;p&gt;Don't just build another website or web app simply because you want to build something. Find a reason.&lt;/p&gt;

&lt;p&gt;Why should you build a new website? Is it to strengthen your design skills, typography, or layout?&lt;/p&gt;

&lt;p&gt;Why should you build a new web app? Maybe it's because you want to learn more about database queries, data caching, network requests, routing, middle-ware, etc.&lt;/p&gt;

&lt;p&gt;This doesn't just show what you've done; it also shows how you think. And trust me, your thought process matters more than the finished product.&lt;/p&gt;

&lt;p&gt;That's what people pay top dollar for.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Observe the Current Environment to Your Advantage!
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwtbjv335gxuj11td5b0z.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwtbjv335gxuj11td5b0z.jpg" alt="observe" width="516" height="387"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Look around you. Take a look at what everyone else is doing in the tech space and use that to your advantage when trying to stand out.&lt;/p&gt;

&lt;p&gt;This will take a LOT of time since it can range from observing projects to understanding how everyone feels about the current market.&lt;/p&gt;

&lt;p&gt;I'll give you one last one (yeah, a freebie):&lt;/p&gt;

&lt;p&gt;Everyone else is vibe-coding an invoicing application. Maybe it's a full-stack restaurant application (definitely not Chowdeck. That takes some real hardware and brainpower), for example.&lt;/p&gt;

&lt;p&gt;You come across a lot of people doing stuff like this because you're snooping around everyone's GitHub activity.&lt;/p&gt;

&lt;p&gt;With the information presented to you, how can you stand out?&lt;/p&gt;

&lt;p&gt;Maybe instead of building a full-stack application like everyone else, you could start building something that hardly anyone else is building, like projects with Arduinos!&lt;/p&gt;

&lt;p&gt;There you go!&lt;/p&gt;

&lt;p&gt;Surprisingly, believe it or not, this is just a small example. This idea can scale all the way to the tech market in general. The whole idea is to look around, see what's happening, and use that information to your advantage when figuring out how to stand out.&lt;/p&gt;

&lt;p&gt;These four things should give you a good starting point for thinking about the question: "What do I need to do for myself to stand out?"&lt;/p&gt;

&lt;p&gt;Maybe this advice won't work for you directly, and that's okay. I just want you to at least start thinking about where you currently are and set goals for yourself to work towards.&lt;/p&gt;

&lt;p&gt;For me, I realised I needed to put myself out there. I knew that cold-DMing companies wasn't necessarily the solution, so I started thinking about other ways to build connections.&lt;/p&gt;

&lt;p&gt;One of those ways was blogging!&lt;/p&gt;

&lt;p&gt;A couple of months later, I'm grateful for where I am now.&lt;/p&gt;

&lt;p&gt;Keep in mind that this is optional. No one told me to do this other than myself.&lt;/p&gt;

&lt;p&gt;If there's something you're seeing and telling yourself is optional, do it anyway. I've learnt that you may never know what opportunities might come from it.&lt;/p&gt;

&lt;p&gt;And if it turns out that nothing ultimately happens, at least you did it, learnt something, and grew from the experience instead of making no progress at all.&lt;/p&gt;

&lt;p&gt;Instead of following what everyone else is doing to stand out, maybe start by getting to know yourself. That way, you'll know what you need to do.&lt;/p&gt;

&lt;p&gt;That is what makes you truly stand out, and someday, someone will notice.&lt;/p&gt;

&lt;p&gt;I want to hear what you think!&lt;/p&gt;

&lt;p&gt;Was this advice helpful? Any thoughts? Feel free to comment below about where you are in tech and whether you need any assistance.&lt;/p&gt;

&lt;p&gt;Also, if you have any advice about working in tech, I'd love to hear from you!&lt;/p&gt;

&lt;p&gt;See you later! 😁&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcw4fxqtay25x1lz4h8in.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcw4fxqtay25x1lz4h8in.gif" alt="bye" width="250" height="320"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>productivity</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>What if the ecosystem you want to build on has no active grants?</title>
      <dc:creator>Franklyn Nmesoma</dc:creator>
      <pubDate>Wed, 02 Sep 2026 11:07:35 +0000</pubDate>
      <link>https://dev.to/franklyn_nmesoma/what-if-the-ecosystem-you-want-to-build-on-has-no-active-grants-1bh4</link>
      <guid>https://dev.to/franklyn_nmesoma/what-if-the-ecosystem-you-want-to-build-on-has-no-active-grants-1bh4</guid>
      <description>&lt;p&gt;I checked GrantHub(&lt;em&gt;w3agh.pxxl.click&lt;/em&gt;) today for active Solana funding opportunities.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;There aren't any active Solana grants right now.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;And I think that's actually useful information.&lt;/p&gt;

&lt;p&gt;One of the problems with Web3 funding is that most grant lists make it look like there is always money available somewhere.&lt;/p&gt;

&lt;p&gt;But grants open, close, change, and disappear.&lt;/p&gt;

&lt;p&gt;So instead of showing you an outdated list of Solana programs just because I need something to post, I checked what is actually active on GrantHub right now.&lt;/p&gt;

&lt;p&gt;And the funding activity is currently showing up in other areas.&lt;/p&gt;

&lt;p&gt;Here are 3 opportunities closing soon:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Orion Builder Hackathon
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;$5,000 in funding&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A three-week hackathon focused on building and shipping AI agents for trading, social media, research, content, community tools, or other use cases.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deadline: September 2(Today)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Link: &lt;a href="https://w3agh.pxxl.click/grants/64" rel="noopener noreferrer"&gt;https://w3agh.pxxl.click/grants/64&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fux3vv056dsqhp9jx07cz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fux3vv056dsqhp9jx07cz.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. The WebMCP Challenge
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;$3,000 cash + 1 year ChatGPT Pro + Codex Micro keyboard + swag per winner, plus partner prizes&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Build an application that becomes better when people and AI agents can use it together using WebMCP.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deadline: September 3(Tomorrow)&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Link: &lt;a href="https://w3agh.pxxl.click/grants/74" rel="noopener noreferrer"&gt;https://w3agh.pxxl.click/grants/74&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6zdrh6ku4cl2tkybkoyp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6zdrh6ku4cl2tkybkoyp.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Alpaca AI Trading Agents Hackathon
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;$6,300 total + Featherless credits + social engagement prizes&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Build autonomous AI trading agents using Alpaca's Trading API together with its MCP server or CLI.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deadline: September 4(In 2 days)&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Link: &lt;a href="https://w3agh.pxxl.click/grants/75" rel="noopener noreferrer"&gt;https://w3agh.pxxl.click/grants/75&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqraxk701hg7gqw7q9iku.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqraxk701hg7gqw7q9iku.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is exactly why I built GrantHub.&lt;/p&gt;

&lt;p&gt;The goal isn't to make every ecosystem look like it has funding available.&lt;/p&gt;

&lt;p&gt;The goal is to give builders a clear picture of &lt;strong&gt;what is actually available right now.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Sometimes that means finding a grant that fits your project.&lt;/p&gt;

&lt;p&gt;Sometimes it means knowing that an ecosystem currently has nothing open, so you can stop wasting time searching and look somewhere else.&lt;/p&gt;

&lt;p&gt;I'll keep tracking these opportunities and updating GrantHub as new funding programs go live.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;30 Days of Web3 Alpha: Getting Funded — Day 2&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>web3</category>
      <category>gftwhackathon</category>
      <category>hackathon</category>
      <category>programming</category>
    </item>
    <item>
      <title>From Development to Production: The 23 Rows That Almost Broke Our Migration</title>
      <dc:creator>Franklyn Nmesoma</dc:creator>
      <pubDate>Thu, 13 Aug 2026 07:55:59 +0000</pubDate>
      <link>https://dev.to/franklyn_nmesoma/from-development-to-production-the-23-rows-that-almost-broke-our-migration-1kpp</link>
      <guid>https://dev.to/franklyn_nmesoma/from-development-to-production-the-23-rows-that-almost-broke-our-migration-1kpp</guid>
      <description>&lt;p&gt;Transitioning an application from development to a live production state is rarely a matter of just swapping environment variables.&lt;/p&gt;

&lt;p&gt;It is an engineering trial by fire.&lt;/p&gt;

&lt;p&gt;This afternoon, a founder reached out to me. He was having issues moving his project from a messy local sandbox to a secure, enterprise-grade production environment.&lt;/p&gt;

&lt;p&gt;What followed was a series of engineering hurdles that forced us to confront some of the architectural decisions that are easy to ignore during development.&lt;/p&gt;

&lt;p&gt;Here is the exact chronicle of the hurdles we faced, how we tackled them, and the architectural lessons learned along the way.&lt;/p&gt;

&lt;h2&gt;
  
  
  🧱 The Architecture
&lt;/h2&gt;

&lt;p&gt;The application relies on a decoupled, highly responsive cloud stack:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Authentication &amp;amp; Registration:&lt;/strong&gt; Clerk OAuth, Google, GitHub, and email/password&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backend &amp;amp; Core Database:&lt;/strong&gt; Supabase (PostgreSQL)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Serverless Logic:&lt;/strong&gt; Supabase Edge Functions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Webhook Verification:&lt;/strong&gt; Svix&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because Clerk is an external authentication provider, our core backend database doesn't automatically know when a user signs up.&lt;/p&gt;

&lt;p&gt;To bridge that gap, we built a &lt;strong&gt;Supabase Edge Function&lt;/strong&gt; utilizing the official &lt;code&gt;svix&lt;/code&gt; security protocol.&lt;/p&gt;

&lt;p&gt;The moment a user signs up on the live site through Clerk OAuth, a secure webhook intercepts the event, verifies it, extracts the user's core data, and synchronizes an account profile row into our clean &lt;code&gt;profiles&lt;/code&gt; table.&lt;/p&gt;

&lt;p&gt;Simple enough.&lt;/p&gt;

&lt;p&gt;Until we started the actual migration.&lt;/p&gt;

&lt;h2&gt;
  
  
  🛑 Hurdle 1: TypeScript Is Not SQL
&lt;/h2&gt;

&lt;p&gt;When it came time to create our production database tables, we initially hit a roadblock trying to feed our frontend application's TypeScript interfaces directly into the Supabase SQL editor.&lt;/p&gt;

&lt;p&gt;It sounds obvious in hindsight, but it is an easy mistake to make when you're moving quickly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TypeScript types are not PostgreSQL schemas.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;PostgreSQL expects actual SQL definitions, constraints, relationships, and data types.&lt;/p&gt;

&lt;p&gt;So we completely translated the application's data model into standard relational SQL.&lt;/p&gt;

&lt;p&gt;Complex frontend object arrays such as &lt;code&gt;LineItem[]&lt;/code&gt; were mapped safely into PostgreSQL &lt;code&gt;jsonb&lt;/code&gt; structures where appropriate.&lt;/p&gt;

&lt;p&gt;For high-precision financial metrics such as invoice subtotals, tax rates, and totals, we used PostgreSQL's &lt;code&gt;numeric&lt;/code&gt; type rather than relying on floating-point types that can introduce rounding problems.&lt;/p&gt;

&lt;p&gt;The lesson here was simple:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your frontend interface may describe your data, but it doesn't define how your database should store it.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🛑 Hurdle 2: The Password &amp;amp; OAuth Migration Gap
&lt;/h2&gt;

&lt;p&gt;Then came the authentication migration.&lt;/p&gt;

&lt;p&gt;Clerk strictly separates development environments from production instances.&lt;/p&gt;

&lt;p&gt;That means you can't simply press a button and move your development users into production.&lt;/p&gt;

&lt;p&gt;We also discovered another complication.&lt;/p&gt;

&lt;p&gt;If you try to provision existing accounts through a standard API migration using only an email address, password-based users can end up with authentication problems or be pushed into a password-less configuration.&lt;/p&gt;

&lt;p&gt;We didn't want that.&lt;/p&gt;

&lt;p&gt;The goal was for users to arrive in production and simply log in as if nothing had happened.&lt;/p&gt;

&lt;p&gt;So we pulled a raw CSV dataset of our legacy users from the Clerk development dashboard.&lt;/p&gt;

&lt;p&gt;From there, we built a custom Node.js backend execution script that analyzed each row and handled the different authentication types accordingly.&lt;/p&gt;

&lt;h3&gt;
  
  
  OAuth Users
&lt;/h3&gt;

&lt;p&gt;These were provisioned into Clerk production while preserving their OAuth-based authentication flow.&lt;/p&gt;

&lt;h3&gt;
  
  
  Password Users
&lt;/h3&gt;

&lt;p&gt;For password-based accounts, we used the available &lt;code&gt;password_digest&lt;/code&gt; bcrypt values from the exported dataset to preserve their existing password credentials during the migration.&lt;/p&gt;

&lt;p&gt;That meant existing users wouldn't suddenly be greeted with:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“We've migrated your account. Please reset your password.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The objective was a seamless migration.&lt;/p&gt;

&lt;p&gt;From the user's perspective, nothing should have changed.&lt;/p&gt;

&lt;h2&gt;
  
  
  🛑 Hurdle 3: The Ghost of 23 Phantom Rows
&lt;/h2&gt;

&lt;p&gt;This was our biggest mystery.&lt;/p&gt;

&lt;p&gt;With the users safely migrated into Clerk production, we moved on to the operational application data.&lt;/p&gt;

&lt;p&gt;Invoices.&lt;/p&gt;

&lt;p&gt;Business profiles.&lt;/p&gt;

&lt;p&gt;Products.&lt;/p&gt;

&lt;p&gt;Other application records.&lt;/p&gt;

&lt;p&gt;To keep track of everything, we built a progress-ledger migration script that mapped development records to their corresponding production users.&lt;/p&gt;

&lt;p&gt;Then the script slammed on the brakes.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;🛑 HARD STOP: 23 row(s) in business_profiles
reference a user_id with no production mapping.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Twenty-three rows.&lt;/p&gt;

&lt;p&gt;Not one.&lt;/p&gt;

&lt;p&gt;Not two.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Twenty-three.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We immediately wrote and executed a live diagnostic query to identify the owners of those records.&lt;/p&gt;

&lt;p&gt;And every single affected row returned the same unsettling message:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;🔴 NO EMAIL FOUND IN DEV PROFILES TABLE
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The businesses existed.&lt;/p&gt;

&lt;p&gt;Their creators were gone.&lt;/p&gt;

&lt;p&gt;So what happened?&lt;/p&gt;

&lt;h3&gt;
  
  
  The Discovery
&lt;/h3&gt;

&lt;p&gt;We uncovered a fascinating architectural loophole.&lt;/p&gt;

&lt;p&gt;During early testing, dummy accounts had been manually deleted from the Clerk development dashboard to clear out old sign-up flows.&lt;/p&gt;

&lt;p&gt;But there was a problem.&lt;/p&gt;

&lt;p&gt;Clerk and our application database were two separate systems.&lt;/p&gt;

&lt;p&gt;Deleting a user from Clerk did not automatically delete the corresponding business profile in Supabase.&lt;/p&gt;

&lt;p&gt;Clerk knew the user was gone.&lt;/p&gt;

&lt;p&gt;Our database didn't.&lt;/p&gt;

&lt;p&gt;Those business profiles had effectively become &lt;strong&gt;orphaned data&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;They were still carrying a raw Clerk &lt;code&gt;user_id&lt;/code&gt;, but there was no longer a corresponding user profile we could use to identify the owner.&lt;/p&gt;

&lt;p&gt;And because the profile didn't contain an email address that could independently identify the user, there was no reliable way to map those records to a production account.&lt;/p&gt;

&lt;p&gt;It was mathematically impossible to recover the relationship from the information we had.&lt;/p&gt;

&lt;p&gt;The migration script couldn't guess.&lt;/p&gt;

&lt;p&gt;And it shouldn't.&lt;/p&gt;

&lt;h2&gt;
  
  
  🧹 The Solution
&lt;/h2&gt;

&lt;p&gt;We updated the migration pipeline to detect these dead references and filter those records out in memory before they could pollute the production environment.&lt;/p&gt;

&lt;p&gt;But we didn't want to stop at cleaning up the immediate problem.&lt;/p&gt;

&lt;p&gt;We wanted to make sure this class of problem couldn't quietly happen again.&lt;/p&gt;

&lt;p&gt;So we rewrote our production database relationships with strict foreign-key constraints and cascading deletes.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="n"&gt;user_id&lt;/span&gt; &lt;span class="nb"&gt;text&lt;/span&gt;
&lt;span class="k"&gt;references&lt;/span&gt; &lt;span class="k"&gt;public&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;profiles&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;on&lt;/span&gt; &lt;span class="k"&gt;delete&lt;/span&gt; &lt;span class="k"&gt;cascade&lt;/span&gt;
&lt;span class="k"&gt;not&lt;/span&gt; &lt;span class="k"&gt;null&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now the database itself understands the relationship.&lt;/p&gt;

&lt;p&gt;If a user profile is deleted, PostgreSQL can automatically clean up the dependent records associated with that user.&lt;/p&gt;

&lt;p&gt;This is a much safer approach than relying entirely on application-level cleanup logic.&lt;/p&gt;

&lt;p&gt;The database should enforce the relationships that matter.&lt;/p&gt;

&lt;h2&gt;
  
  
  🎉 Production Ready
&lt;/h2&gt;

&lt;p&gt;After all of that, our final dry-run simulations passed successfully.&lt;/p&gt;

&lt;p&gt;Every live user account was mapped correctly.&lt;/p&gt;

&lt;p&gt;Password authentication was preserved.&lt;/p&gt;

&lt;p&gt;OAuth routing paths were locked in.&lt;/p&gt;

&lt;p&gt;Operational business records were mapped to their legitimate owners.&lt;/p&gt;

&lt;p&gt;Orphaned development records were excluded.&lt;/p&gt;

&lt;p&gt;And the production database now had much stricter relational safety mechanisms in place.&lt;/p&gt;

&lt;p&gt;The biggest lesson from this migration?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A database will quietly accept disconnected data during a relaxed development phase.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can have deleted users with surviving business records.&lt;/p&gt;

&lt;p&gt;You can have test data that looks harmless.&lt;/p&gt;

&lt;p&gt;You can have relationships that exist only because everyone assumes the other system will handle them.&lt;/p&gt;

&lt;p&gt;Everything can appear fine.&lt;/p&gt;

&lt;p&gt;Until you try to move the entire system into production.&lt;/p&gt;

&lt;p&gt;Then the migration script forces you to confront the truth.&lt;/p&gt;

&lt;p&gt;And sometimes, that truth comes in the form of &lt;strong&gt;23 phantom rows.&lt;/strong&gt; 🏁&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Vaya con Dios Reader🥂.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>backend</category>
      <category>cloud</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Web3 funding is fundamentally broken.</title>
      <dc:creator>Franklyn Nmesoma</dc:creator>
      <pubDate>Wed, 12 Aug 2026 09:30:00 +0000</pubDate>
      <link>https://dev.to/franklyn_nmesoma/web3-funding-is-fundamentally-broken-45np</link>
      <guid>https://dev.to/franklyn_nmesoma/web3-funding-is-fundamentally-broken-45np</guid>
      <description>&lt;p&gt;Finding grants means digging through 50 scattered Discords, blogs, websites, and Notion pages.&lt;/p&gt;

&lt;p&gt;So I built a fix.&lt;/p&gt;

&lt;p&gt;Meet Web3 Accelerator GrantHub (W3AGH).&lt;/p&gt;

&lt;h2&gt;
  
  
  What is GrantHub?
&lt;/h2&gt;

&lt;p&gt;GrantHub is a web app that helps Web3 founders discover funding opportunities without digging through dozens of scattered websites.&lt;br&gt;
Grants are listed across ecosystems like Solana, Ethereum, Polygon, BNB Chain, Arbitrum, Base, and more.&lt;/p&gt;

&lt;p&gt;The idea is simple: instead of spending hours searching for funding opportunities, you should be able to find relevant grants in one place.&lt;br&gt;
GrantHub also has AI tools that sit on top of the grant database. You can describe your project once and instantly see which grants fit best.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why GrantHub?
&lt;/h2&gt;

&lt;p&gt;Funding is the lifeblood of Web3 startups, but finding grants today is painful.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scattered listings&lt;/strong&gt;&lt;br&gt;
Every ecosystem publishes its own programs on its own website, blog, Discord, or other channels.&lt;/p&gt;

&lt;p&gt;There is no single source of truth.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stale information&lt;/strong&gt;&lt;br&gt;
Grants expire, close, or change their requirements, while the listings founders rely on can remain outdated.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Manual matching&lt;/strong&gt;&lt;br&gt;
A founder has to read through each grant's requirements and figure out whether their project qualifies.&lt;br&gt;
With dozens of grants available, that can quickly turn into hours of work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No personal&amp;nbsp;workflow&lt;/strong&gt;&lt;br&gt;
There is no single place to save interesting grants, track applications, or ask questions about a specific program.&lt;/p&gt;

&lt;p&gt;GrantHub is built around solving these problems.&lt;/p&gt;

&lt;p&gt;It combines three things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;One central catalog of grants stored in a real database.&lt;/li&gt;
&lt;li&gt;Personal tools: accounts, favorites, and a personal dashboard.&lt;/li&gt;
&lt;li&gt;AI assistance: a grant ranking engine, an AI assistant, a smart-contract auditor, and context-aware chat on every grant page.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Who is this&amp;nbsp;for?
&lt;/h2&gt;

&lt;p&gt;Solo builders and startups: looking for funding or ecosystem support.&lt;br&gt;
Beginners who don't yet know which ecosystems and grants are right for them.&lt;/p&gt;

&lt;p&gt;Anyone who would rather spend their time building than hunting for funding.&lt;/p&gt;

&lt;p&gt;The goal isn't to create another directory of links.&lt;/p&gt;

&lt;p&gt;The goal is to make finding Web3 funding easier, faster, and more useful for the people actually building.&lt;/p&gt;

&lt;p&gt;Over the next 30 days, I'll be sharing the behind-the-scenes process of building GrantHub, available grants, founder tips, funding alpha, and some of the things I'm learning along the way.&lt;/p&gt;

&lt;p&gt;I'll also be showing you how the product is being built, the features I'm working on, and what happens when you put a tool like this in front of actual builders.&lt;/p&gt;

&lt;p&gt;If you're a Web3 founder, builder, or someone interested in Web3 funding, follow along and look out for posts with the caption:&lt;br&gt;
&lt;em&gt;&lt;strong&gt;"30 Days of Web3 Alpha: Getting Funded"&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;This is Day 1.&lt;/p&gt;

</description>
      <category>web3</category>
      <category>gftwhackathon</category>
      <category>100daysofsolana</category>
      <category>ethereum</category>
    </item>
    <item>
      <title>Building Production AI Systems(Final)</title>
      <dc:creator>Franklyn Nmesoma</dc:creator>
      <pubDate>Fri, 31 Jul 2026 06:15:00 +0000</pubDate>
      <link>https://dev.to/franklyn_nmesoma/building-production-ai-systemsfinal-4o3o</link>
      <guid>https://dev.to/franklyn_nmesoma/building-production-ai-systemsfinal-4o3o</guid>
      <description>&lt;h1&gt;
  
  
  Designing AI Systems That Outlive Today's Models
&lt;/h1&gt;

&lt;p&gt;If there's one lesson this series has taught me, it's this:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Don't build your application around a model. Build it around a capability.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That might sound like a small distinction.&lt;/p&gt;

&lt;p&gt;It isn't.&lt;/p&gt;

&lt;p&gt;Because models change.&lt;/p&gt;

&lt;p&gt;Constantly.&lt;/p&gt;

&lt;p&gt;A few months ago everyone was talking about GPT-4.&lt;/p&gt;

&lt;p&gt;Then Claude.&lt;/p&gt;

&lt;p&gt;Then Gemini.&lt;/p&gt;

&lt;p&gt;Then DeepSeek.&lt;/p&gt;

&lt;p&gt;Then Qwen.&lt;/p&gt;

&lt;p&gt;By the time you're reading this, there's probably another model making headlines.&lt;/p&gt;

&lt;p&gt;Imagine rewriting your application every time that happens.&lt;/p&gt;

&lt;p&gt;That's not innovation.&lt;/p&gt;

&lt;p&gt;That's technical debt.&lt;/p&gt;

&lt;p&gt;One mistake I see quite often is developers tightly coupling their applications to one provider.&lt;/p&gt;

&lt;p&gt;Your business logic knows it's talking to GPT-4.&lt;/p&gt;

&lt;p&gt;Your prompts are written specifically for GPT-4.&lt;/p&gt;

&lt;p&gt;Your output parsing assumes GPT-4.&lt;/p&gt;

&lt;p&gt;Your error handling assumes GPT-4.&lt;/p&gt;

&lt;p&gt;Now imagine your company decides to switch providers.&lt;/p&gt;

&lt;p&gt;What should have been a configuration change suddenly becomes weeks of refactoring.&lt;/p&gt;

&lt;p&gt;That's avoidable.&lt;/p&gt;

&lt;p&gt;Your application shouldn't know who answered the request.&lt;/p&gt;

&lt;p&gt;It should only know that the capability it asked for was delivered.&lt;/p&gt;

&lt;p&gt;Summarize this document.&lt;/p&gt;

&lt;p&gt;Generate this code.&lt;/p&gt;

&lt;p&gt;Classify this text.&lt;/p&gt;

&lt;p&gt;Translate this paragraph.&lt;/p&gt;

&lt;p&gt;Those are capabilities.&lt;/p&gt;

&lt;p&gt;The provider is simply an implementation detail.&lt;/p&gt;

&lt;p&gt;One thing I regret not doing earlier was versioning prompts.&lt;/p&gt;

&lt;p&gt;Most developers version everything else.&lt;/p&gt;

&lt;p&gt;Source code.&lt;/p&gt;

&lt;p&gt;Database migrations.&lt;/p&gt;

&lt;p&gt;Infrastructure.&lt;/p&gt;

&lt;p&gt;Configuration.&lt;/p&gt;

&lt;p&gt;Then prompts end up looking like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nx"&gt;typescript&lt;/span&gt; &lt;span class="nx"&gt;id&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;a8fj21&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;prompt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;You are a helpful assistant...&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Three months later someone tweaks a sentence.&lt;/p&gt;

&lt;p&gt;Responses change.&lt;/p&gt;

&lt;p&gt;Nobody knows why.&lt;/p&gt;

&lt;p&gt;Sound familiar?&lt;/p&gt;

&lt;p&gt;Prompts deserve the same engineering discipline as code.&lt;/p&gt;

&lt;p&gt;Version them.&lt;/p&gt;

&lt;p&gt;Review them.&lt;/p&gt;

&lt;p&gt;Document why changes were made.&lt;/p&gt;

&lt;p&gt;Roll them back when needed.&lt;/p&gt;

&lt;p&gt;Prompt engineering isn't magic.&lt;/p&gt;

&lt;p&gt;It's software development.&lt;/p&gt;

&lt;p&gt;Imagine you've found a brand-new reasoning model that performs better than your current one.&lt;/p&gt;

&lt;p&gt;Do you deploy it to every user immediately?&lt;/p&gt;

&lt;p&gt;Probably not.&lt;/p&gt;

&lt;p&gt;Use feature flags.&lt;/p&gt;

&lt;p&gt;Roll it out to 5% of users.&lt;/p&gt;

&lt;p&gt;Monitor latency.&lt;/p&gt;

&lt;p&gt;Monitor costs.&lt;/p&gt;

&lt;p&gt;Watch for unexpected output.&lt;/p&gt;

&lt;p&gt;Increase traffic gradually.&lt;/p&gt;

&lt;p&gt;That's exactly how we'd deploy any other critical feature.&lt;/p&gt;

&lt;p&gt;AI shouldn't be treated differently.&lt;/p&gt;

&lt;p&gt;A model provider's leaderboard isn't your benchmark.&lt;/p&gt;

&lt;p&gt;Your users are.&lt;/p&gt;

&lt;p&gt;One model might top every public ranking.&lt;/p&gt;

&lt;p&gt;That doesn't automatically make it the best choice for your application.&lt;/p&gt;

&lt;p&gt;Build your own evaluation dataset.&lt;/p&gt;

&lt;p&gt;Run the same prompts across multiple models.&lt;/p&gt;

&lt;p&gt;Measure things that actually matter:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Accuracy.&lt;/li&gt;
&lt;li&gt;Response time.&lt;/li&gt;
&lt;li&gt;Cost.&lt;/li&gt;
&lt;li&gt;Structured output quality.&lt;/li&gt;
&lt;li&gt;Hallucination rate.&lt;/li&gt;
&lt;li&gt;User satisfaction.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The best model is the one that consistently solves &lt;em&gt;your&lt;/em&gt; problem, not someone else's.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI needs regression testing too
&lt;/h2&gt;

&lt;p&gt;Traditional software has unit tests.&lt;/p&gt;

&lt;p&gt;Integration tests.&lt;/p&gt;

&lt;p&gt;End-to-end tests.&lt;/p&gt;

&lt;p&gt;AI applications need their own version of that discipline.&lt;/p&gt;

&lt;p&gt;Whenever you change:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a prompt,&lt;/li&gt;
&lt;li&gt;a model,&lt;/li&gt;
&lt;li&gt;a system instruction,&lt;/li&gt;
&lt;li&gt;or your routing logic,&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;run your evaluation suite again.&lt;/p&gt;

&lt;p&gt;Did response quality improve?&lt;/p&gt;

&lt;p&gt;Did costs increase?&lt;/p&gt;

&lt;p&gt;Did latency double?&lt;/p&gt;

&lt;p&gt;Did structured outputs break?&lt;/p&gt;

&lt;p&gt;Without testing, you'll only discover regressions after your users do.&lt;/p&gt;

&lt;p&gt;And that's never a fun conversation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Build around interfaces, not providers
&lt;/h2&gt;

&lt;p&gt;One design principle has saved me countless headaches.&lt;/p&gt;

&lt;p&gt;Everything in my application talks to an interface.&lt;/p&gt;

&lt;p&gt;Not directly to OpenAI.&lt;/p&gt;

&lt;p&gt;Not directly to Claude.&lt;/p&gt;

&lt;p&gt;Not directly to Gemini.&lt;/p&gt;

&lt;p&gt;The interface might expose methods like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;generateText()&lt;/li&gt;
&lt;li&gt;summarize()&lt;/li&gt;
&lt;li&gt;classify()&lt;/li&gt;
&lt;li&gt;embed()&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What's behind those methods can change.&lt;/p&gt;

&lt;p&gt;The application doesn't care.&lt;/p&gt;

&lt;p&gt;That's good architecture.&lt;/p&gt;

&lt;p&gt;Today the implementation might use OpenRouter.&lt;/p&gt;

&lt;p&gt;Tomorrow it might not.&lt;/p&gt;

&lt;p&gt;That's okay.&lt;/p&gt;

&lt;p&gt;Because nothing else needs to change.&lt;/p&gt;

&lt;h2&gt;
  
  
  The best AI systems are adaptable
&lt;/h2&gt;

&lt;p&gt;The pace of AI is unlike anything we've seen in software.&lt;/p&gt;

&lt;p&gt;Models improve every few months.&lt;/p&gt;

&lt;p&gt;Pricing changes overnight.&lt;/p&gt;

&lt;p&gt;Context windows grow.&lt;/p&gt;

&lt;p&gt;Capabilities evolve.&lt;/p&gt;

&lt;p&gt;Building around today's "best model" is like building a web application around the fastest browser of 2012.&lt;/p&gt;

&lt;p&gt;You're optimizing for a moment in time.&lt;/p&gt;

&lt;p&gt;Good architecture optimizes for change.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;Throughout this series we've talked about SDKs.&lt;/p&gt;

&lt;p&gt;Gateways.&lt;/p&gt;

&lt;p&gt;Observability.&lt;/p&gt;

&lt;p&gt;Fallbacks.&lt;/p&gt;

&lt;p&gt;Retries.&lt;/p&gt;

&lt;p&gt;Routing.&lt;/p&gt;

&lt;p&gt;Cost optimization.&lt;/p&gt;

&lt;p&gt;But none of those are really the point.&lt;/p&gt;

&lt;p&gt;They're all just tools that help us build software that's easier to maintain.&lt;/p&gt;

&lt;p&gt;That's ultimately our job as engineers.&lt;/p&gt;

&lt;p&gt;Not to chase the newest model.&lt;/p&gt;

&lt;p&gt;Not to rewrite our applications every time a benchmark changes.&lt;/p&gt;

&lt;p&gt;But to design systems that continue working regardless of which model sits behind them.&lt;/p&gt;

&lt;p&gt;Because models will change.&lt;/p&gt;

&lt;p&gt;Providers will change.&lt;/p&gt;

&lt;p&gt;Pricing will change.&lt;/p&gt;

&lt;p&gt;The fundamentals of good software engineering won't.&lt;/p&gt;

&lt;p&gt;And if there's one thing I hope you take away from this series, it's this:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Build AI applications that can survive the next generation of models, not just the current one.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Future you, your teammates, and probably your users will be glad you did.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>llm</category>
      <category>systemdesign</category>
    </item>
    <item>
      <title>How to use async functions in useEffect in React.</title>
      <dc:creator>Franklyn Nmesoma</dc:creator>
      <pubDate>Thu, 30 Jul 2026 10:03:46 +0000</pubDate>
      <link>https://dev.to/franklyn_nmesoma/how-to-use-async-functions-in-useeffect-in-react-c9a</link>
      <guid>https://dev.to/franklyn_nmesoma/how-to-use-async-functions-in-useeffect-in-react-c9a</guid>
      <description>&lt;p&gt;&lt;em&gt;useEffect&lt;/em&gt; is usually the place where data fetching happens in React. Data fetching means using asynchronous functions, and using them in &lt;em&gt;useEffect&lt;/em&gt; might not be as straightforward as you'd think. Read on to learn more about it!&lt;/p&gt;

&lt;h2&gt;
  
  
  The wrong way
&lt;/h2&gt;

&lt;p&gt;There's one wrong way to do data fetching in &lt;em&gt;useEffect&lt;/em&gt;. If you write the following code, your linter will scream at you!&lt;br&gt;
&lt;em&gt;-------------------------------------------&lt;br&gt;
| I mean you are using a linter right??   |&lt;br&gt;
-------------------------------------------&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;// ❌ don't do this&lt;br&gt;
  useEffect(async () =&amp;gt; {&lt;br&gt;
    const data = await fetchData();&lt;br&gt;
  }, [fetchData]) &lt;/p&gt;

&lt;p&gt;The issue here is that the first argument of &lt;em&gt;useEffect&lt;/em&gt; is supposed to be a function that returns either nothing (undefined) or a function (to clean up side effects). But an async function returns a Promise, which can't be called as a function! It's simply not what the &lt;em&gt;useEffect&lt;/em&gt; hook expects for its first argument.&lt;/p&gt;

&lt;h2&gt;
  
  
  So how do you use asynchronous code inside a &lt;em&gt;useEffect&lt;/em&gt;?
&lt;/h2&gt;

&lt;p&gt;Usually the solution is to simply write the data fetching code inside the &lt;em&gt;useEffect&lt;/em&gt; itself, like so:&lt;/p&gt;

&lt;p&gt;useEffect(() =&amp;gt; {&lt;br&gt;
  // declare the data fetching function&lt;br&gt;
  const fetchData = async () =&amp;gt; {&lt;br&gt;
    const data = await fetch('&lt;a href="https://yourapi.com'" rel="noopener noreferrer"&gt;https://yourapi.com'&lt;/a&gt;);&lt;br&gt;
  }&lt;br&gt;
  // call the function&lt;br&gt;
  fetchData()&lt;br&gt;
    // make sure to catch any error&lt;br&gt;
    .catch(console.error);&lt;br&gt;
}, [])&lt;/p&gt;

&lt;p&gt;Summary: You can't make &lt;em&gt;useEffect&lt;/em&gt; directly asynchronous because it expects a synchronous cleanup return. Instead, declare and call your async function inside the effect block.&lt;/p&gt;

&lt;p&gt;I'm Nmesoma Ononogbo, a software engineer building innovative solutions that empower businesses and create exceptional user experiences, while continuously pushing the boundaries of what's possible with modern technologies.&lt;/p&gt;

</description>
      <category>frontend</category>
      <category>javascript</category>
      <category>react</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Building Production AI Systems(Part 4)</title>
      <dc:creator>Franklyn Nmesoma</dc:creator>
      <pubDate>Thu, 30 Jul 2026 05:15:00 +0000</pubDate>
      <link>https://dev.to/franklyn_nmesoma/building-production-ai-systemspart-4-51c1</link>
      <guid>https://dev.to/franklyn_nmesoma/building-production-ai-systemspart-4-51c1</guid>
      <description>&lt;h1&gt;
  
  
  Building Multi-Model AI Applications: Why One Model Won't Be Enough
&lt;/h1&gt;

&lt;p&gt;If you ask most developers what model powers their AI application, you'll usually get one answer.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"We're using GPT-4o."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Or Claude.&lt;/p&gt;

&lt;p&gt;Or Gemini.&lt;/p&gt;

&lt;p&gt;Or DeepSeek.&lt;/p&gt;

&lt;p&gt;One application.&lt;/p&gt;

&lt;p&gt;One model.&lt;/p&gt;

&lt;p&gt;One provider.&lt;/p&gt;

&lt;p&gt;It makes sense.&lt;/p&gt;

&lt;p&gt;That's how most of us started building AI products.&lt;/p&gt;

&lt;p&gt;But I don't think that's where we're headed.&lt;/p&gt;

&lt;p&gt;If anything, I think we're moving away from applications that depend on a single "super model" and toward systems where multiple models work together, each solving the problem they're best at.&lt;/p&gt;

&lt;p&gt;In other words, the future of AI applications isn't bigger models.&lt;/p&gt;

&lt;p&gt;It's better orchestration.&lt;/p&gt;

&lt;h2&gt;
  
  
  Not every request deserves your most expensive model
&lt;/h2&gt;

&lt;p&gt;Imagine you're building an AI customer support platform.&lt;/p&gt;

&lt;p&gt;A user asks:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Convert this JSON into YAML."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Does that really require your most expensive reasoning model?&lt;/p&gt;

&lt;p&gt;Probably not.&lt;/p&gt;

&lt;p&gt;Now another user uploads a 200-page legal contract and asks for a risk assessment.&lt;/p&gt;

&lt;p&gt;That's a completely different problem.&lt;/p&gt;

&lt;p&gt;Yet many applications send both requests to the same model.&lt;/p&gt;

&lt;p&gt;That's like using a Formula 1 car to buy groceries.&lt;/p&gt;

&lt;p&gt;It works.&lt;/p&gt;

&lt;p&gt;But it's unnecessarily expensive.&lt;/p&gt;

&lt;p&gt;Context-aware routing solves this problem.&lt;/p&gt;

&lt;p&gt;Instead of treating every request equally, your application first asks:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"What kind of problem is this?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Simple formatting?&lt;/p&gt;

&lt;p&gt;Send it to a lightweight, low-cost model.&lt;/p&gt;

&lt;p&gt;Document summarization?&lt;/p&gt;

&lt;p&gt;Maybe use something with a larger context window.&lt;/p&gt;

&lt;p&gt;Complex reasoning?&lt;/p&gt;

&lt;p&gt;Now bring in your premium model.&lt;/p&gt;

&lt;p&gt;The result?&lt;/p&gt;

&lt;p&gt;Lower costs.&lt;/p&gt;

&lt;p&gt;Better performance.&lt;/p&gt;

&lt;p&gt;And users rarely notice the difference.&lt;/p&gt;

&lt;h2&gt;
  
  
  Expensive doesn't always mean better
&lt;/h2&gt;

&lt;p&gt;One mistake I made early on was assuming that paying more automatically produced better results.&lt;/p&gt;

&lt;p&gt;It doesn't.&lt;/p&gt;

&lt;p&gt;Different models have different strengths.&lt;/p&gt;

&lt;p&gt;Some excel at structured output.&lt;/p&gt;

&lt;p&gt;Some are incredibly fast.&lt;/p&gt;

&lt;p&gt;Others are better at reasoning.&lt;/p&gt;

&lt;p&gt;Some are simply cheaper.&lt;/p&gt;

&lt;p&gt;The goal isn't to find the "best" model.&lt;/p&gt;

&lt;p&gt;The goal is to find the &lt;strong&gt;right&lt;/strong&gt; model.&lt;/p&gt;

&lt;p&gt;Sometimes a $0.001 request produces exactly the same outcome as one costing ten times more.&lt;/p&gt;

&lt;p&gt;If you're building a production application, those savings add up very quickly.&lt;/p&gt;

&lt;p&gt;Especially once thousands of requests start flowing through your system every day.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI is becoming a team sport
&lt;/h2&gt;

&lt;p&gt;One idea I'm particularly excited about is moving beyond single-model thinking altogether.&lt;/p&gt;

&lt;p&gt;Imagine a financial analysis platform.&lt;/p&gt;

&lt;p&gt;Instead of asking one model to do everything, your application creates a small team.&lt;/p&gt;

&lt;p&gt;One model summarizes the uploaded report.&lt;/p&gt;

&lt;p&gt;Another extracts structured financial data.&lt;/p&gt;

&lt;p&gt;Another identifies business risks.&lt;/p&gt;

&lt;p&gt;Another checks for inconsistencies.&lt;/p&gt;

&lt;p&gt;A final model combines all of those outputs into a polished response.&lt;/p&gt;

&lt;p&gt;None of these models knows what the others are doing.&lt;/p&gt;

&lt;p&gt;They're simply responsible for one task.&lt;/p&gt;

&lt;p&gt;That's exactly how engineering teams work.&lt;/p&gt;

&lt;p&gt;And I think AI systems are beginning to look remarkably similar.&lt;/p&gt;

&lt;h2&gt;
  
  
  Orchestration is becoming the real product
&lt;/h2&gt;

&lt;p&gt;As AI models continue improving, I think the competitive advantage shifts.&lt;/p&gt;

&lt;p&gt;It won't be:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"We use Model X."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Because everyone has access to Model X.&lt;/p&gt;

&lt;p&gt;Instead, the advantage becomes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Which models you combine.&lt;/li&gt;
&lt;li&gt;When you call them.&lt;/li&gt;
&lt;li&gt;What order they execute in.&lt;/li&gt;
&lt;li&gt;What context each receives.&lt;/li&gt;
&lt;li&gt;How failures are handled.&lt;/li&gt;
&lt;li&gt;How results are merged.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The orchestration layer becomes more valuable than the models themselves.&lt;/p&gt;

&lt;p&gt;That's why I don't think OpenRouter is simply an API gateway.&lt;/p&gt;

&lt;p&gt;It's infrastructure for building these kinds of workflows.&lt;/p&gt;

&lt;p&gt;Today you're swapping providers.&lt;/p&gt;

&lt;p&gt;Tomorrow you might be coordinating ten of them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Think in workflows, not prompts
&lt;/h2&gt;

&lt;p&gt;One of the biggest mindset shifts I've had is this:&lt;/p&gt;

&lt;p&gt;Stop thinking about prompts.&lt;/p&gt;

&lt;p&gt;Start thinking about workflows.&lt;/p&gt;

&lt;p&gt;A user request doesn't have to become one API call.&lt;/p&gt;

&lt;p&gt;It can become a pipeline.&lt;/p&gt;

&lt;p&gt;Input.&lt;/p&gt;

&lt;p&gt;Classification.&lt;/p&gt;

&lt;p&gt;Routing.&lt;/p&gt;

&lt;p&gt;Reasoning.&lt;/p&gt;

&lt;p&gt;Validation.&lt;/p&gt;

&lt;p&gt;Formatting.&lt;/p&gt;

&lt;p&gt;Response.&lt;/p&gt;

&lt;p&gt;Each stage can use the model that's best suited for that specific task.&lt;/p&gt;

&lt;p&gt;The end user never sees any of this.&lt;/p&gt;

&lt;p&gt;They simply receive a fast, accurate response.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cost optimization starts with architecture
&lt;/h2&gt;

&lt;p&gt;Most developers think about reducing AI costs by switching to a cheaper model.&lt;/p&gt;

&lt;p&gt;That's one approach.&lt;/p&gt;

&lt;p&gt;A better approach is asking:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Should this request have reached an expensive model in the first place?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Architecture often saves more money than model selection.&lt;/p&gt;

&lt;p&gt;If 70% of your traffic can be handled by smaller, faster models, you've already reduced costs before touching a single pricing table.&lt;/p&gt;

&lt;p&gt;The cheapest request isn't the one sent to a cheaper model.&lt;/p&gt;

&lt;p&gt;It's the one that never needed an expensive model at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  Looking ahead
&lt;/h2&gt;

&lt;p&gt;A few years ago, applications were tightly coupled to databases.&lt;/p&gt;

&lt;p&gt;Then they became service-oriented.&lt;/p&gt;

&lt;p&gt;Then microservices became popular.&lt;/p&gt;

&lt;p&gt;I think AI applications are going through a similar evolution.&lt;/p&gt;

&lt;p&gt;We're moving away from monolithic intelligence.&lt;/p&gt;

&lt;p&gt;Toward distributed intelligence.&lt;/p&gt;

&lt;p&gt;Instead of asking one model to solve every problem, applications will orchestrate multiple specialized models, each contributing a small piece of the final answer.&lt;/p&gt;

&lt;p&gt;When that happens, choosing a provider becomes less important.&lt;/p&gt;

&lt;p&gt;Designing intelligent workflows becomes everything.&lt;/p&gt;

&lt;p&gt;And that's why I believe tools like OpenRouter matter.&lt;/p&gt;

&lt;p&gt;Not because they give us access to more models.&lt;/p&gt;

&lt;p&gt;But because they make it practical to build systems where models become interchangeable building blocks rather than architectural constraints.&lt;/p&gt;

&lt;p&gt;The future of AI development isn't about finding the perfect model.&lt;/p&gt;

&lt;p&gt;It's about designing systems that know &lt;strong&gt;which&lt;/strong&gt; model to use, &lt;strong&gt;when&lt;/strong&gt; to use it, and &lt;strong&gt;why&lt;/strong&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>techtalks</category>
    </item>
    <item>
      <title>Building Production AI Systems (Part 3)</title>
      <dc:creator>Franklyn Nmesoma</dc:creator>
      <pubDate>Fri, 24 Jul 2026 05:45:00 +0000</pubDate>
      <link>https://dev.to/franklyn_nmesoma/building-production-ai-systems-part-3-bnf</link>
      <guid>https://dev.to/franklyn_nmesoma/building-production-ai-systems-part-3-bnf</guid>
      <description>&lt;p&gt;Running OpenRouter in Production: What Breaks, What Works, and What I’d Do Differently&lt;/p&gt;

&lt;p&gt;Getting an LLM to respond to your first prompt is easy.&lt;/p&gt;

&lt;p&gt;Keeping it reliable in production?&lt;/p&gt;

&lt;p&gt;That’s where things become interesting.&lt;/p&gt;

&lt;p&gt;One thing I’ve learned building software is that users don’t care whose fault it is when something breaks.&lt;/p&gt;

&lt;p&gt;If your AI feature fails because OpenAI is down…&lt;/p&gt;

&lt;p&gt;Or Claude is rate-limited…&lt;/p&gt;

&lt;p&gt;Or your network connection decides to disappear for five seconds…&lt;/p&gt;

&lt;p&gt;Your users won’t blame the provider.&lt;/p&gt;

&lt;p&gt;They’ll blame your application.&lt;/p&gt;

&lt;p&gt;That’s why integrating an AI model isn’t enough.&lt;/p&gt;

&lt;p&gt;You need to engineer for failure, lets talk about how.&lt;/p&gt;

&lt;h2&gt;
  
  
  Error handling should be boring
&lt;/h2&gt;

&lt;p&gt;One of the biggest advantages of OpenRouter is that it standardizes responses from different providers.&lt;/p&gt;

&lt;p&gt;Without it, you often end up writing provider-specific error handling.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;```typescript
if (provider === “openai”) {
…
}

if (provider === “anthropic”) {
…
}

if (provider === “google”) {
…
}
```
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That gets messy very quickly.&lt;/p&gt;

&lt;p&gt;With OpenRouter, your application talks to one API contract.&lt;/p&gt;

&lt;p&gt;Which means your error handling becomes predictable.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;```typescript
try {
const response = await client.chat.completions.create({…});
} catch (error) {
logger.error(error);
}
```
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Simple.&lt;/p&gt;

&lt;p&gt;Your code shouldn’t care which provider failed.&lt;/p&gt;

&lt;p&gt;It should care how your application responds when one does.&lt;/p&gt;

&lt;h2&gt;
  
  
  Logging is your best friend
&lt;/h2&gt;

&lt;p&gt;One mistake I see quite often is developers only logging the error message.&lt;/p&gt;

&lt;p&gt;That’s rarely enough.&lt;/p&gt;

&lt;p&gt;When something fails in production, you want context.&lt;/p&gt;

&lt;p&gt;Log things like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The model that was used.&lt;/li&gt;
&lt;li&gt;Request duration.&lt;/li&gt;
&lt;li&gt;Token usage.&lt;/li&gt;
&lt;li&gt;HTTP status code.&lt;/li&gt;
&lt;li&gt;Whether a fallback model was triggered.&lt;/li&gt;
&lt;li&gt;The user making the request (if appropriate).&lt;/li&gt;
&lt;li&gt;Timestamp.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A single log entry should tell you the complete story without having to reproduce the issue.&lt;/p&gt;

&lt;p&gt;Future you will appreciate it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Observability beats guessing
&lt;/h2&gt;

&lt;p&gt;Imagine a customer reports:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“The AI stopped working around 2 PM.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Without observability, you’re guessing.&lt;/p&gt;

&lt;p&gt;Was it your backend?&lt;/p&gt;

&lt;p&gt;OpenRouter?&lt;/p&gt;

&lt;p&gt;Claude?&lt;/p&gt;

&lt;p&gt;Gemini?&lt;/p&gt;

&lt;p&gt;A timeout?&lt;/p&gt;

&lt;p&gt;A deployment?&lt;/p&gt;

&lt;p&gt;Good observability removes the guesswork.&lt;/p&gt;

&lt;p&gt;OpenRouter provides request tracking that allows you to match requests from your application with what happened inside their dashboard.&lt;/p&gt;

&lt;p&gt;Instead of spending hours wondering where things went wrong, you can trace a single request from your backend logs all the way through the gateway.&lt;/p&gt;

&lt;p&gt;That’s incredibly valuable once real users are involved.&lt;/p&gt;

&lt;p&gt;Request IDs are underrated&lt;/p&gt;

&lt;p&gt;Every request should have an identity.&lt;/p&gt;

&lt;p&gt;Whether you’re using OpenRouter’s request identifiers or generating your own correlation IDs, always include them in your logs.&lt;/p&gt;

&lt;p&gt;Imagine one user reports:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;My response never arrived.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Without a request ID, you’re searching through thousands of log entries.&lt;/p&gt;

&lt;p&gt;With one, you can immediately trace:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;when the request started,&lt;/li&gt;
&lt;li&gt;which model processed it,&lt;/li&gt;
&lt;li&gt;whether retries occurred,&lt;/li&gt;
&lt;li&gt;whether fallbacks were triggered,&lt;/li&gt;
&lt;li&gt;and how long everything took.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Production debugging becomes dramatically easier.&lt;/p&gt;

&lt;p&gt;Streaming isn’t always as straightforward as it looks&lt;/p&gt;

&lt;p&gt;Streaming responses make AI applications feel much faster.&lt;/p&gt;

&lt;p&gt;Instead of waiting ten seconds for a complete answer, users start seeing words appear almost immediately.&lt;/p&gt;

&lt;p&gt;Great user experience.&lt;/p&gt;

&lt;p&gt;But there’s a catch.&lt;/p&gt;

&lt;p&gt;Not every provider streams responses in exactly the same way.&lt;/p&gt;

&lt;p&gt;Although OpenRouter normalizes much of this behavior, you’ll still want to build frontend parsers that are resilient.&lt;/p&gt;

&lt;p&gt;Don’t assume every chunk arrives perfectly.&lt;/p&gt;

&lt;p&gt;Don’t assume every event contains text.&lt;/p&gt;

&lt;p&gt;Don’t assume the connection won’t terminate unexpectedly.&lt;/p&gt;

&lt;p&gt;Your frontend should gracefully handle incomplete streams instead of crashing halfway through a response.&lt;/p&gt;

&lt;p&gt;Timeouts are not optional&lt;/p&gt;

&lt;p&gt;One of the easiest ways to create a poor user experience is to let requests hang forever.&lt;/p&gt;

&lt;p&gt;Sometimes providers are slow.&lt;/p&gt;

&lt;p&gt;Sometimes networks are unreliable.&lt;/p&gt;

&lt;p&gt;Sometimes things simply break.&lt;/p&gt;

&lt;p&gt;Your application should know when to stop waiting.&lt;/p&gt;

&lt;p&gt;Set reasonable timeout limits.&lt;/p&gt;

&lt;p&gt;If a request takes too long, cancel it.&lt;/p&gt;

&lt;p&gt;Your users would rather receive a helpful message after fifteen seconds than stare at an infinite loading spinner.&lt;/p&gt;

&lt;p&gt;An application that knows when to give up usually feels faster than one that waits forever.&lt;/p&gt;

&lt;h2&gt;
  
  
  Graceful degradation
&lt;/h2&gt;

&lt;p&gt;This is one of my favourite engineering principles.&lt;/p&gt;

&lt;p&gt;Just because one provider fails doesn’t mean your feature should disappear completely.&lt;/p&gt;

&lt;p&gt;Imagine your primary reasoning model becomes unavailable.&lt;/p&gt;

&lt;p&gt;Instead of returning:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Something went wrong.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Why not automatically switch to a faster fallback model?&lt;/p&gt;

&lt;p&gt;Maybe the answer isn’t quite as detailed.&lt;/p&gt;

&lt;p&gt;Maybe it isn’t as creative.&lt;/p&gt;

&lt;p&gt;But your user still gets a response.&lt;/p&gt;

&lt;p&gt;That’s infinitely better than an error screen.&lt;/p&gt;

&lt;p&gt;Graceful degradation isn’t about perfection.&lt;/p&gt;

&lt;p&gt;It’s about maintaining functionality when perfection isn’t possible.&lt;/p&gt;

&lt;p&gt;Build retries carefully&lt;/p&gt;

&lt;p&gt;Retries sound simple.&lt;/p&gt;

&lt;p&gt;Until they aren’t.&lt;/p&gt;

&lt;p&gt;If a request fails because of a temporary network issue, retrying makes sense.&lt;/p&gt;

&lt;p&gt;If it fails because the provider is overloaded, retrying after a short delay might work.&lt;/p&gt;

&lt;p&gt;But if the request is invalid?&lt;/p&gt;

&lt;p&gt;Retrying it five times won’t magically fix bad input.&lt;/p&gt;

&lt;p&gt;A good retry strategy should:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Retry only transient failures.&lt;/li&gt;
&lt;li&gt;Use exponential backoff instead of immediate retries.&lt;/li&gt;
&lt;li&gt;Set a maximum retry limit.&lt;/li&gt;
&lt;li&gt;Log every retry attempt.&lt;/li&gt;
&lt;li&gt;Stop retrying when success is unlikely.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Retries should improve reliability.&lt;/p&gt;

&lt;p&gt;Not create more traffic.&lt;/p&gt;

&lt;p&gt;Final thoughts&lt;/p&gt;

&lt;p&gt;One thing AI development has taught me is that choosing the right model is only a small part of building reliable applications.&lt;/p&gt;

&lt;p&gt;The real challenge is designing systems that continue working when models slow down, providers become unavailable, or networks become unreliable.&lt;/p&gt;

&lt;p&gt;Because eventually…&lt;/p&gt;

&lt;p&gt;Something will fail.&lt;/p&gt;

&lt;p&gt;The question isn’t whether it happens.&lt;/p&gt;

&lt;p&gt;The question is whether your users notice.&lt;/p&gt;

&lt;p&gt;If they don’t, you’ve probably built your system well.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Enjoying the series? Let me know in the comments.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Ooh and do not forget to connect with me so you do not miss out on the next parts of the series.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>programming</category>
    </item>
    <item>
      <title>Building Production AI Systems(Part 2)</title>
      <dc:creator>Franklyn Nmesoma</dc:creator>
      <pubDate>Wed, 08 Jul 2026 13:15:00 +0000</pubDate>
      <link>https://dev.to/franklyn_nmesoma/building-production-ai-systemspart-2-224c</link>
      <guid>https://dev.to/franklyn_nmesoma/building-production-ai-systemspart-2-224c</guid>
      <description>&lt;h2&gt;
  
  
  Integrating OpenRouter into a Real Application
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;This is Part 2 of a five-part series on building production-ready AI applications.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In the previous article, I talked about why I stopped juggling multiple AI SDKs and settled on OpenRouter as the abstraction layer between my applications and different LLM providers.&lt;/p&gt;

&lt;p&gt;Now comes the fun part.&lt;/p&gt;

&lt;p&gt;The actual integration.&lt;/p&gt;

&lt;p&gt;If you've ever integrated the OpenAI SDK before, then you'll feel right at home because, surprisingly, not much changes.&lt;/p&gt;

&lt;p&gt;And honestly, that's one of my favorite things about OpenRouter.&lt;/p&gt;

&lt;p&gt;You don't install another SDK.&lt;/p&gt;

&lt;p&gt;You don't learn another API.&lt;/p&gt;

&lt;p&gt;You don't rewrite your application.&lt;/p&gt;

&lt;p&gt;You simply point your existing client somewhere else.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Set up your client
&lt;/h2&gt;

&lt;p&gt;If you're already using the official OpenAI SDK, your client initialization changes very little.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;//typescript&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;OpenAI&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;openai&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;apiKey&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;OPENROUTER_API_KEY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;baseURL&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://openrouter.ai/api/v1&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it.&lt;/p&gt;

&lt;p&gt;Instead of pointing to OpenAI's endpoint, you're pointing to OpenRouter's gateway.&lt;/p&gt;

&lt;p&gt;From your application's perspective, nothing else really changes.&lt;/p&gt;

&lt;p&gt;And that's exactly the point.&lt;/p&gt;

&lt;p&gt;OpenRouter doesn't try to replace the OpenAI API.&lt;/p&gt;

&lt;p&gt;It implements it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the Base URL matters
&lt;/h2&gt;

&lt;p&gt;At first glance, changing a single URL doesn't seem like much.&lt;/p&gt;

&lt;p&gt;But that one line completely changes what your application is capable of.&lt;/p&gt;

&lt;p&gt;Yesterday, your requests could only reach OpenAI.&lt;/p&gt;

&lt;p&gt;Today, the same client can talk to Claude, Gemini, Llama, DeepSeek, Mistral, Qwen, and hundreds of other models without installing another dependency.&lt;/p&gt;

&lt;p&gt;That's the power of abstraction.&lt;/p&gt;

&lt;p&gt;Your application doesn't care where the response comes from.&lt;/p&gt;

&lt;p&gt;It only cares that it receives one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Don't ignore the headers
&lt;/h2&gt;

&lt;p&gt;One thing many developers skip is the optional headers OpenRouter recommends.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;//typescript&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;apiKey&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;OPENROUTER_API_KEY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;baseURL&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://openrouter.ai/api/v1&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;defaultHeaders&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;HTTP-Referer&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://yourapp.com&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;X-Title&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;My AI Application&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These headers aren't required for your application to work.&lt;/p&gt;

&lt;p&gt;However, they make a huge difference when you're monitoring usage inside the OpenRouter dashboard.&lt;/p&gt;

&lt;p&gt;Think of them as metadata.&lt;/p&gt;

&lt;p&gt;Instead of seeing anonymous API traffic, you'll know exactly which application generated which requests.&lt;/p&gt;

&lt;p&gt;If you're managing multiple projects, you'll thank yourself later.&lt;/p&gt;

&lt;h2&gt;
  
  
  Model switching becomes configuration
&lt;/h2&gt;

&lt;p&gt;Here's where OpenRouter really starts to shine.&lt;/p&gt;

&lt;p&gt;Normally, switching providers means changing SDKs.&lt;/p&gt;

&lt;p&gt;Sometimes it means changing request payloads.&lt;/p&gt;

&lt;p&gt;Occasionally it means rewriting parts of your application altogether.&lt;/p&gt;

&lt;p&gt;With OpenRouter, switching models is often as simple as changing one string.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;//typescript&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;completion&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;completions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;model&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;MODEL_NAME&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nx"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Yesterday:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;MODEL_NAME=openai/gpt-4o
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Today:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;MODEL_NAME=anthropic/claude-3.7-sonnet
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Tomorrow:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;MODEL_NAME=deepseek/deepseek-r1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No deployment.&lt;/p&gt;

&lt;p&gt;No new SDK.&lt;/p&gt;

&lt;p&gt;No wrapper functions.&lt;/p&gt;

&lt;p&gt;Just configuration.&lt;/p&gt;

&lt;p&gt;That's a huge win for maintainability.&lt;/p&gt;

&lt;h2&gt;
  
  
  What actually happens after you send a request?
&lt;/h2&gt;

&lt;p&gt;This is probably the most overlooked part of OpenRouter.&lt;/p&gt;

&lt;p&gt;When your application sends a request, it doesn't simply forward the payload.&lt;/p&gt;

&lt;p&gt;It interprets it.&lt;/p&gt;

&lt;p&gt;Your application sends a standard OpenAI-compatible request.&lt;/p&gt;

&lt;p&gt;OpenRouter receives it.&lt;/p&gt;

&lt;p&gt;Then it translates that request into whatever format the target provider expects.&lt;/p&gt;

&lt;p&gt;Claude has its own conventions.&lt;/p&gt;

&lt;p&gt;Gemini has slightly different expectations.&lt;/p&gt;

&lt;p&gt;Reasoning models expose different parameters.&lt;/p&gt;

&lt;p&gt;OpenRouter smooths over those differences before forwarding the request upstream.&lt;/p&gt;

&lt;p&gt;When the provider responds, OpenRouter performs the reverse operation.&lt;/p&gt;

&lt;p&gt;It normalizes the response back into the OpenAI format your application already understands.&lt;/p&gt;

&lt;p&gt;From your code's perspective, every provider behaves like OpenAI.&lt;/p&gt;

&lt;p&gt;That's why your application code stays clean while still supporting multiple providers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building for failure
&lt;/h2&gt;

&lt;p&gt;Production systems fail.&lt;/p&gt;

&lt;p&gt;Rate limits happen.&lt;/p&gt;

&lt;p&gt;Providers experience outages.&lt;/p&gt;

&lt;p&gt;Network latency spikes.&lt;/p&gt;

&lt;p&gt;The question isn't whether they'll happen.&lt;/p&gt;

&lt;p&gt;It's whether your application is prepared when they do.&lt;/p&gt;

&lt;p&gt;One of my favorite OpenRouter features is model fallbacks.&lt;/p&gt;

&lt;p&gt;Instead of depending on a single provider, you can prioritize multiple models.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;//typescript&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;model&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;anthropic/claude-3-opus&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nx"&gt;models&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;anthropic/claude-3-opus&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;google/gemini-pro&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;meta-llama/llama-3-70b&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Imagine Claude temporarily returns a &lt;strong&gt;429 Too Many Requests&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Without fallbacks?&lt;/p&gt;

&lt;p&gt;Your user sees an error.&lt;/p&gt;

&lt;p&gt;With fallbacks?&lt;/p&gt;

&lt;p&gt;OpenRouter automatically retries using the next available model in your priority list.&lt;/p&gt;

&lt;p&gt;Most users won't even notice anything happened.&lt;/p&gt;

&lt;p&gt;That's the kind of resilience users expect but rarely appreciate.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;One of the biggest lessons I've learned building AI-powered applications is that your application shouldn't care which model answered the request.&lt;/p&gt;

&lt;p&gt;It should care that the request succeeded.&lt;/p&gt;

&lt;p&gt;The more your business logic depends on provider-specific behavior, the harder your code becomes to maintain.&lt;/p&gt;

&lt;p&gt;OpenRouter flips that relationship.&lt;/p&gt;

&lt;p&gt;Providers become interchangeable.&lt;/p&gt;

&lt;p&gt;Your application stays consistent.&lt;/p&gt;

&lt;p&gt;And as new models continue to emerge almost every week, I think that's an architectural decision that will only become more valuable over time.&lt;/p&gt;

&lt;p&gt;If you found this helpful, check out part 1, leave a comment and follow me so you don't miss the next parts of the series, coming soon.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>llm</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Building Production AI Systems(Part 1)</title>
      <dc:creator>Franklyn Nmesoma</dc:creator>
      <pubDate>Sat, 04 Jul 2026 13:15:00 +0000</pubDate>
      <link>https://dev.to/franklyn_nmesoma/building-production-ai-systemspart-1-10gm</link>
      <guid>https://dev.to/franklyn_nmesoma/building-production-ai-systemspart-1-10gm</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;OpenRouter isn't just another AI gateway. It's an architectural decision.&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;This is Part 1 of a five-part series on building production-ready AI applications.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A few months ago, if you wanted to experiment with multiple LLM providers in the same application, you'd probably end up with something like this:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;npm install openai&lt;/em&gt;&lt;br&gt;
&lt;em&gt;npm install @anthropic-ai/sdk&lt;/em&gt;&lt;br&gt;
&lt;em&gt;npm install @google/generative-ai&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Fast forward a few weeks and your code-base starts looking… interesting.&lt;/p&gt;

&lt;p&gt;One SDK expects messages in one format.&lt;/p&gt;

&lt;p&gt;Another throws completely different error objects.&lt;/p&gt;

&lt;p&gt;One provider supports streaming differently.&lt;/p&gt;

&lt;p&gt;Another requires its own authentication flow.&lt;/p&gt;

&lt;p&gt;Before long, you've written a wrapper around a wrapper that's wrapping yet another SDK just so your application can ask a chat-bot a simple question.&lt;/p&gt;

&lt;p&gt;I've been there.&lt;/p&gt;

&lt;p&gt;And honestly, none of that complexity adds value to your product.&lt;/p&gt;

&lt;p&gt;Your users don't care whether the response came from GPT-4o, Claude Sonnet, Gemini, DeepSeek, or Llama.&lt;/p&gt;

&lt;p&gt;They care that the response is fast, reliable, and useful.&lt;/p&gt;

&lt;p&gt;That's what eventually led me to OpenRouter.&lt;/p&gt;

&lt;p&gt;At first, I assumed it was just another API gateway sitting between my application and a bunch of AI providers.&lt;/p&gt;

&lt;p&gt;After using it in production, I realized it solves a much bigger problem.&lt;/p&gt;

&lt;p&gt;It lets you stop thinking about providers and start thinking about capabilities.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The fragmented client&amp;nbsp;problem&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;One of the biggest mistakes teams make when integrating AI is tightly coupling their application to a single provider.&lt;/p&gt;

&lt;p&gt;It usually starts innocently.&lt;/p&gt;

&lt;p&gt;Maybe you're building with OpenAI because it's the easiest place to begin.&lt;/p&gt;

&lt;p&gt;A few months later, Claude becomes better at long-form reasoning.&lt;/p&gt;

&lt;p&gt;Then Gemini introduces a feature you want.&lt;/p&gt;

&lt;p&gt;Then an open-weight model suddenly becomes good enough while costing a fraction of the price.&lt;/p&gt;

&lt;p&gt;Now you have a problem.&lt;/p&gt;

&lt;p&gt;Your application isn't talking to "an LLM."&lt;/p&gt;

&lt;p&gt;It's talking to three completely different SDKs.&lt;/p&gt;

&lt;p&gt;Three authentication methods.&lt;/p&gt;

&lt;p&gt;Three different request formats.&lt;/p&gt;

&lt;p&gt;Three different response objects.&lt;/p&gt;

&lt;p&gt;Three different ways of handling errors.&lt;/p&gt;

&lt;p&gt;Suddenly, changing models isn't a product decision anymore.&lt;/p&gt;

&lt;p&gt;It's a refactoring exercise.&lt;/p&gt;

&lt;p&gt;That's exactly the problem OpenRouter solves.&lt;/p&gt;

&lt;p&gt;Instead of installing a separate SDK for every provider, OpenRouter becomes a single entry point for every model your application needs.&lt;/p&gt;

&lt;p&gt;To your application, it behaves like the OpenAI API.&lt;/p&gt;

&lt;p&gt;To your infrastructure, it's an orchestration layer capable of routing requests to hundreds of proprietary and open-weight models.&lt;/p&gt;

&lt;p&gt;That distinction matters.&lt;/p&gt;

&lt;p&gt;Because now your code isn't coupled to Anthropic.&lt;/p&gt;

&lt;p&gt;Or Google.&lt;/p&gt;

&lt;p&gt;Or OpenAI.&lt;/p&gt;

&lt;p&gt;It's coupled to one API contract.&lt;/p&gt;

&lt;p&gt;Everything else becomes configuration.&lt;/p&gt;

&lt;p&gt;And in software engineering, configuration almost always ages better than code.&lt;/p&gt;

&lt;p&gt;That was the first thing that stood out to me.&lt;/p&gt;

&lt;p&gt;OpenRouter isn't really selling access to models.&lt;/p&gt;

&lt;p&gt;It's selling abstraction.&lt;/p&gt;

&lt;p&gt;And good abstractions are usually what make systems maintainable in the long run.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;If you found this helpful, leave a comment and follow me so you don't miss Part 2 of the series, coming soon.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>javascript</category>
      <category>llm</category>
    </item>
    <item>
      <title># Side projects don't fail because of bad code. They fail because...</title>
      <dc:creator>Franklyn Nmesoma</dc:creator>
      <pubDate>Wed, 24 Jun 2026 14:15:00 +0000</pubDate>
      <link>https://dev.to/franklyn_nmesoma/-side-projects-dont-fail-because-of-bad-code-they-fail-because-1hh5</link>
      <guid>https://dev.to/franklyn_nmesoma/-side-projects-dont-fail-because-of-bad-code-they-fail-because-1hh5</guid>
      <description>&lt;p&gt;It's crazy how nobody really talks about this.&lt;/p&gt;

&lt;p&gt;An idea pops into your head. You validate it. Maybe a few people tell you it's a good idea. Next thing you know, you're three weeks deep into building the next X (formerly Twitter).&lt;/p&gt;

&lt;p&gt;There's just one small problem:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You're not building for users. You're building for yourself.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The way developers see products is completely different from the way users see them.&lt;/p&gt;

&lt;p&gt;A developer sees pixels, color gradients, load times, request speeds, database queries, security, and architecture.&lt;/p&gt;

&lt;p&gt;The user sees one thing:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;An app.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That's it.&lt;/p&gt;

&lt;p&gt;Most users don't care that your font size is off by 2px. They don't care whether you're using React, Vue, Laravel, Next.js, PostgreSQL, MongoDB, or whatever new framework launched last week.&lt;/p&gt;

&lt;p&gt;What they care about is simple:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Can I use this thing without getting frustrated?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That's the real question.&lt;/p&gt;

&lt;p&gt;Think about the products you use every day. Why do they have millions of users?&lt;/p&gt;

&lt;p&gt;It isn't because the UI is beautiful.&lt;/p&gt;

&lt;p&gt;It isn't because the architecture is perfect.&lt;/p&gt;

&lt;p&gt;It's because they're usable.&lt;/p&gt;

&lt;p&gt;Can users understand your product without watching a tutorial?&lt;/p&gt;

&lt;p&gt;Can they complete important actions without getting confused?&lt;/p&gt;

&lt;p&gt;Can they find what they're looking for without clicking through five different screens?&lt;/p&gt;

&lt;p&gt;If the answer is no, then you don't have a technical problem.&lt;/p&gt;

&lt;p&gt;You have a product problem.&lt;/p&gt;

&lt;p&gt;And product problems kill side projects much faster than technical ones.&lt;/p&gt;

&lt;h2&gt;
  
  
  The second reason: developers love over-complicating things.
&lt;/h2&gt;

&lt;p&gt;A lot of developers struggle with this, especially when building side projects.&lt;/p&gt;

&lt;p&gt;A simple note-taking application somehow becomes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI-powered&lt;/li&gt;
&lt;li&gt;Real-time&lt;/li&gt;
&lt;li&gt;Multi-tenant&lt;/li&gt;
&lt;li&gt;Offline-first&lt;/li&gt;
&lt;li&gt;Blockchain-enabled&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All before a single user has written their first note.&lt;/p&gt;

&lt;p&gt;A notes app doesn't need AI.&lt;/p&gt;

&lt;p&gt;It needs to let users:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create notes&lt;/li&gt;
&lt;li&gt;Save notes&lt;/li&gt;
&lt;li&gt;View notes&lt;/li&gt;
&lt;li&gt;Delete notes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's it.&lt;/p&gt;

&lt;p&gt;There's a difference between building the right thing and just building things.&lt;/p&gt;

&lt;p&gt;The hack?&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;KISS.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Keep It Simple, Stupid.&lt;/p&gt;

&lt;p&gt;(Or Keep It Short and Simple if you're feeling polite.)&lt;/p&gt;

&lt;p&gt;The principle is the same.&lt;/p&gt;

&lt;p&gt;Your application should perform its primary task exceptionally well before you start adding features nobody asked for.&lt;/p&gt;

&lt;p&gt;The more complexity you introduce, the more opportunities you create for things to break.&lt;/p&gt;

&lt;p&gt;Build with KISS in mind and thank me later.&lt;/p&gt;

&lt;h2&gt;
  
  
  The third reason nobody talks about: no deployment plan.
&lt;/h2&gt;

&lt;p&gt;This one hurts.&lt;/p&gt;

&lt;p&gt;You spend months building.&lt;/p&gt;

&lt;p&gt;Next.js for the frontend.&lt;/p&gt;

&lt;p&gt;Laravel for the backend.&lt;/p&gt;

&lt;p&gt;PostgreSQL for the database.&lt;/p&gt;

&lt;p&gt;Redis for caching.&lt;/p&gt;

&lt;p&gt;Docker because everyone on YouTube says you should learn Docker.&lt;/p&gt;

&lt;p&gt;Everything sounds cool until it's time to deploy.&lt;/p&gt;

&lt;p&gt;Now you're trying to figure out hosting, environment variables, SSL certificates, databases, storage, monitoring, backups, and why your frontend suddenly can't talk to your backend.&lt;/p&gt;

&lt;p&gt;This is where many side projects quietly die.&lt;/p&gt;

&lt;p&gt;Not because the code was bad.&lt;/p&gt;

&lt;p&gt;Because nobody thought about operations.&lt;/p&gt;

&lt;p&gt;Before writing your first line of code, ask yourself:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;How is this thing actually going to run?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;How will the services communicate?&lt;/p&gt;

&lt;p&gt;How will updates be deployed?&lt;/p&gt;

&lt;p&gt;How will users access it?&lt;/p&gt;

&lt;p&gt;How will I keep it online when something breaks?&lt;/p&gt;

&lt;p&gt;Your goal isn't to build something that works on your machine.&lt;/p&gt;

&lt;p&gt;Your goal is to build something users can depend on.&lt;/p&gt;

&lt;p&gt;Those are two very different things.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;Most side projects don't die because of bad code.&lt;/p&gt;

&lt;p&gt;They die because nobody wanted to use them.&lt;/p&gt;

&lt;p&gt;They die because they're overengineered.&lt;/p&gt;

&lt;p&gt;They die because the developer spent more time choosing technologies than understanding users.&lt;/p&gt;

&lt;p&gt;And sometimes they die because nobody thought about what happens after the code is finished.&lt;/p&gt;

&lt;p&gt;The irony is that writing the code is often the easiest part.&lt;/p&gt;

&lt;p&gt;Building something people actually use?&lt;/p&gt;

&lt;p&gt;That's the hard part.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>sideprojects</category>
      <category>developers</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
