<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Adebola Desmond on Medium]]></title>
        <description><![CDATA[Stories by Adebola Desmond on Medium]]></description>
        <link>https://medium.com/@adeboladesmond18?source=rss-7ec694dca72a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Br-5-dEZP-72pRSXOIfQnA.jpeg</url>
            <title>Stories by Adebola Desmond on Medium</title>
            <link>https://medium.com/@adeboladesmond18?source=rss-7ec694dca72a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 12:40:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@adeboladesmond18/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The OSI Model: Understanding What Happens When Data Moves Across a Network]]></title>
            <link>https://medium.com/@adeboladesmond18/the-osi-model-understanding-what-happens-when-data-moves-across-a-network-2941125a14cf?source=rss-7ec694dca72a------2</link>
            <guid isPermaLink="false">https://medium.com/p/2941125a14cf</guid>
            <dc:creator><![CDATA[Adebola Desmond]]></dc:creator>
            <pubDate>Sat, 26 Sep 2026 16:38:33 GMT</pubDate>
            <atom:updated>2026-09-26T16:38:33.896Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t-pVzaVjq_JWOjWl9vYtgw.png" /></figure><h3>The OSI Model: Understanding What Happens When Data Moves Across a Network</h3><p>As a developer, I work with things like APIs, HTTP requests, authentication, databases, sockets, and mobile applications almost every day.</p><p>I know how to use many of these things, but recently I started asking myself a different question:</p><p><strong>What is actually happening behind the scenes when my application sends data over a network?</strong></p><p>That question led me into computer networking, and one of the first concepts I started learning was the <strong>OSI Model</strong>.</p><p>At first, the seven layers looked like something I just needed to memorize. But after spending some time understanding what each layer actually does, I started seeing how the different networking concepts I’ve come across fit together.</p><p>So in this post, I’ll break down the OSI Model in a simple way and also relate it to things I already work with as a developer.</p><h3>So, What Exactly Is the OSI Model?</h3><p>OSI stands for <strong>Open Systems Interconnection</strong>.</p><p>In simple terms, it’s a model that helps us understand how computers communicate with each other over a network.</p><p>The model divides network communication into <strong>seven layers</strong>:</p><ol><li>Application</li><li>Presentation</li><li>Session</li><li>Transport</li><li>Network</li><li>Data Link</li><li>Physical</li></ol><p>You can remember the order from the top as:</p><p><strong>Application → Presentation → Session → Transport → Network → Data Link → Physical</strong></p><p>Or from the bottom:</p><p><strong>Physical → Data Link → Network → Transport → Session → Presentation → Application</strong></p><p>But honestly, I don’t think the main goal should be to just memorize these seven names.</p><p>The more useful part is understanding <strong>what each layer is doing</strong> and how they work together.</p><h3>Layer 7— Application</h3><p>This is the layer that is closest to the applications we use.</p><p>It provides network services that applications can use to communicate.</p><p>Some examples include:</p><ul><li>HTTP</li><li>HTTPS</li><li>DNS</li><li>FTP</li><li>SMTP</li></ul><p>For example, if my Flutter application makes a request like:</p><pre>GET /api/users</pre><p>HTTP is being used to communicate with the server.</p><p>One thing I had to understand here is that the Application Layer doesn’t mean the actual UI of my Flutter app.</p><p>It’s more about the network services and protocols that applications use to communicate.</p><h3>Where I see this as a developer</h3><p>This is probably one of the layers I interact with most without even thinking about it.</p><p>Things like:</p><ul><li>REST APIs</li><li>HTTP requests</li><li>WebSockets</li><li>Authentication</li><li>API clients</li><li>Backend services</li></ul><p>all bring me into contact with networking concepts at this level.</p><h3>Layer 6 — Presentation</h3><p>This layer is mainly concerned with <strong>how data is represented</strong>.</p><p>Some of the things associated with this layer include:</p><ul><li>Data formatting</li><li>Encryption and decryption</li><li>Compression and decompression</li><li>Character encoding</li></ul><p>Think about two systems communicating with each other.</p><p>They need to understand how the data they’re exchanging is represented.</p><p>For example, when working with APIs, I often deal with JSON:</p><pre>{<br>  &quot;name&quot;: &quot;Desmond&quot;,<br>  &quot;age&quot;: 20<br>}</pre><p>The important thing here isn’t that JSON is simply “the Layer 6 protocol.” It isn’t.</p><p>The point is that systems need a common way to represent and understand the data they’re exchanging.</p><p>Encryption is another important concept here.</p><p>For example, when we’re using HTTPS, TLS helps protect the communication.</p><h3>Layer 5 — Session</h3><p>The Session Layer is responsible for managing communication sessions between systems.</p><p>A simple way I think about it is like having a conversation.</p><p>You need to:</p><ul><li>Start the conversation</li><li>Keep the conversation going</li><li>Manage it</li><li>Eventually end it</li></ul><p>That’s the basic idea behind the Session Layer.</p><p>In modern networking, the responsibilities associated with this layer aren’t necessarily handled by one specific protocol. They can be handled by different mechanisms across the networking stack.</p><p>This was one of the layers I found a little harder to relate directly to everyday development, but understanding its purpose makes the overall model easier to follow.</p><h3>Layer 4 — Transport</h3><p>This is where things started getting especially interesting for me as a developer.</p><p>The Transport Layer is responsible for <strong>end-to-end communication</strong> between devices.</p><p>Two important protocols you’ll hear about here are:</p><ul><li><strong>TCP</strong></li><li><strong>UDP</strong></li></ul><h3>TCP</h3><p>TCP is focused on reliable communication.</p><p>It provides mechanisms for things like:</p><ul><li>Making sure data gets delivered</li><li>Keeping data in the correct order</li><li>Detecting errors</li><li>Retransmitting lost data</li><li>Controlling the flow of data</li></ul><p>So when reliability matters, TCP is useful because it helps make sure the communication gets there correctly.</p><h3>UDP</h3><p>UDP is more lightweight.</p><p>Unlike TCP, it doesn’t provide the same reliability guarantees.</p><p>That can be useful in situations where speed and low latency are more important than making sure every packet arrives.</p><p>You might come across UDP in areas such as:</p><ul><li>Real-time communication</li><li>Online gaming</li><li>Voice communication</li><li>Some streaming and real-time applications</li></ul><h3>And then there are ports</h3><p>Another thing I constantly see as a developer is <strong>ports</strong>.</p><p>For example:</p><pre>IP Address: 192.168.1.10<br>Port: 443</pre><p>The IP address identifies the destination device, while the port helps identify the service or application endpoint.</p><p>I’ve also worked with things like:</p><pre>localhost:3000<br>localhost:4000<br>localhost:5000</pre><p>So learning about the Transport Layer made those numbers make a lot more sense to me.</p><h3>Layer 3 — Network</h3><p>The Network Layer is where <strong>IP addresses and routing</strong> come in.</p><p>For example:</p><pre>192.168.1.10<br>10.0.0.5</pre><p>The Network Layer helps determine how packets can travel from one network to another.</p><p>This is also where routers become important.</p><p>A router uses network information to help forward packets toward their destination.</p><h3>A simple way to think about it</h3><p>Imagine sending a package from <strong>Lagos to Abuja</strong>.</p><p>The package needs an address so that the delivery system knows where it needs to go.</p><p>An IP address serves a similar purpose in networking.</p><p>Of course, actual network routing is much more complicated than sending a physical package, but the analogy helped me understand the basic idea.</p><h3>Layer 2 — Data Link</h3><p>The Data Link Layer is mainly concerned with communication between devices on the <strong>same local network</strong>.</p><p>Some of the things associated with this layer include:</p><ul><li>MAC addresses</li><li>Ethernet</li><li>Network frames</li><li>Switching</li><li>Error detection at the frame level</li></ul><p>A MAC address might look something like this:</p><pre>00:1A:2B:3C:4D:5E</pre><p>One thing that helped me here was understanding the difference between a MAC address and an IP address.</p><p>An IP address is used for logical addressing and routing between networks.</p><p>A MAC address is associated with a network interface and is used for communication at the local network level.</p><p>Network switches also primarily operate at this layer.</p><h3>Layer 1 — Physical</h3><p>Finally, we get to the <strong>Physical Layer</strong>.</p><p>This is the part that deals with actually transmitting the bits.</p><p>We’re talking about things like:</p><ul><li>Ethernet cables</li><li>Fiber optic cables</li><li>Radio signals</li><li>Electrical signals</li><li>Network hardware</li><li>Wi-Fi radio transmission</li></ul><p>At this level, we’re basically dealing with the actual transmission of bits:</p><pre>010101010101...</pre><p>In simple terms:</p><p><strong>How do we physically get these bits from one place to another?</strong></p><p>That’s the kind of problem this layer deals with.</p><h3>So How Do All Seven Layers Work Together?</h3><p>This is the part that made the OSI Model more interesting to me.</p><p>Let’s say I’m using my Flutter application and I want to make a request to a backend API.</p><p>From my perspective, it might look as simple as:</p><pre>Flutter App<br>     ↓<br>HTTP Request<br>     ↓<br>Backend Server</pre><p>But underneath that, there is much more happening:</p><pre>Flutter App<br>     ↓<br>HTTP Request<br>     ↓<br>TCP<br>     ↓<br>IP<br>     ↓<br>Network Interface<br>     ↓<br>Wi-Fi / Ethernet<br>     ↓<br>Router<br>     ↓<br>Internet<br>     ↓<br>Backend Server</pre><p>The data moves down through the networking stack on the sender’s side.</p><p>When it reaches the other side, the process works back up the stack.</p><p>This is where terms like <strong>encapsulation and decapsulation</strong> come in.</p><p>The more I learned about this, the more I realized that an API request isn’t really just:</p><p><strong>“Send this data to the backend.”</strong></p><p>There’s a whole process happening underneath.</p><h3>What Happens When I Open a Website?</h3><p>Let’s take something simple.</p><p>I type:</p><pre>https://example.com</pre><p>into my browser.</p><p>It looks like one simple action, but several networking processes are involved.</p><h3>Application</h3><p>The browser communicates using application-level protocols such as HTTP or HTTPS.</p><h3>Presentation</h3><p>With HTTPS, TLS is used to protect the communication.</p><h3>Session</h3><p>A communication session is established and maintained through mechanisms across the networking stack.</p><h3>Transport</h3><p>TCP may be used to provide reliable communication.</p><p>HTTPS commonly uses port:</p><pre>443</pre><h3>Network</h3><p>IP addressing allows packets to be routed between networks.</p><h3>Data Link</h3><p>My device communicates with the local network using something like Wi-Fi or Ethernet.</p><h3>Physical</h3><p>The actual signals are transmitted through things like radio waves, copper cables, or fiber.</p><p>And all of this happens incredibly quickly.</p><p>That’s what I find fascinating about networking.</p><p>We do something as simple as opening a website, and there is so much happening underneath that we don’t normally see.</p><h3>OSI Model vs TCP/IP Model</h3><p>Another thing I came across while learning was the <strong>TCP/IP model</strong>.</p><p>At first, I wondered why there were two different models.</p><p>The OSI model has seven layers:</p><p>Layer Name7 Application 6Presentation 5Session 4Transport 3Network 2Data Link 1Physical</p><p>The commonly taught TCP/IP model has four layers:</p><p>TCP/IP LayerRough OSI EquivalentApplicationApplication + Presentation + SessionTransportTransportInternetNetworkNetwork Access / LinkData Link + Physical</p><p>The OSI model is mainly useful as a <strong>conceptual way of understanding networking</strong>.</p><p>The TCP/IP model, on the other hand, describes the protocol architecture behind the Internet.</p><p>Understanding both helps make networking concepts less confusing.</p><h3>Why Does This Matter to Me as a Developer?</h3><p>At first, I wondered why I needed to learn all of this.</p><p>I’m building applications. I’m working with Flutter. I’m learning backend development.</p><p>So why should I care about seven networking layers?</p><p>The answer started becoming clearer when I looked at the kinds of problems developers actually face.</p><p>For example, you might see:</p><pre>Connection refused</pre><p>or:</p><pre>Connection timed out</pre><p>or:</p><pre>DNS resolution failed</pre><p>or:</p><pre>SSL/TLS error</pre><p>or even:</p><pre>404 Not Found</pre><p>When you don’t understand networking, it can be tempting to simply say:</p><p><strong>“The API isn’t working.”</strong></p><p>But there could be many different reasons.</p><p>Maybe the device can’t reach the server.</p><p>Maybe DNS isn’t resolving.</p><p>Maybe the server isn’t listening on the expected port.</p><p>Maybe the connection is being blocked.</p><p>Maybe there’s a TLS problem.</p><p>Maybe the request is reaching the backend but the endpoint doesn’t exist.</p><p>Understanding networking gives me a better way to think about these problems.</p><p>Instead of immediately asking:</p><p><strong>“Why isn’t my API working?”</strong></p><p>I can start asking:</p><ul><li>Can my device reach the server?</li><li>Does the hostname resolve correctly?</li><li>Is the server reachable?</li><li>Is the correct port open?</li><li>Is the server actually listening?</li><li>Is the request reaching the backend?</li><li>Is TLS working?</li><li>What response is the API returning?</li></ul><p>That is a much better way to debug.</p><h3>How This Connects to What I Do</h3><p>Working with Flutter and backend technologies has already exposed me to many of these concepts.</p><p>A simple flow like:</p><pre>Flutter App<br>     ↓<br>HTTP / HTTPS<br>     ↓<br>API Server<br>     ↓<br>Backend<br>     ↓<br>Database</pre><p>looks pretty straightforward.</p><p>And in Flutter, I might write something as simple as:</p><pre>final response = await dio.get(&#39;/users&#39;);</pre><p>That’s it from my perspective.</p><p>But behind that one line are things like:</p><ul><li>DNS</li><li>IP addresses</li><li>Ports</li><li>TCP</li><li>TLS</li><li>HTTP</li><li>Routers</li><li>Network interfaces</li><li>Packets</li><li>Servers</li></ul><p>That’s the part I’m becoming more interested in.</p><p><strong>What happens underneath the code I write?</strong></p><h3>Final Thoughts</h3><p>I don’t want to learn the OSI Model just so I can memorize seven layers and move on.</p><p>What interests me more is understanding what happens <strong>underneath the applications I build</strong>.</p><p>As developers, we work with abstractions all the time.</p><p>We make an API request without thinking about how it travels.</p><p>We connect to a database without thinking about how that connection is established.</p><p>We open a website without thinking about DNS, IP addresses, routing, TCP, TLS, and HTTP.</p><p>Those things are happening whether we think about them or not.</p><p>Learning networking is helping me understand a little more of what’s happening behind the scenes.</p><p>I’m still at the beginning of this journey, and there’s obviously a lot more for me to learn.</p><p>But for now, I’m enjoying the process.</p><p><strong>One layer at a time.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2941125a14cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Blank Folder to Live Site: Building OG Lens Studios, a Luxury Photography Portfolio with Next.j]]></title>
            <link>https://medium.com/@adeboladesmond18/from-blank-folder-to-live-site-building-og-lens-studios-a-luxury-photography-portfolio-with-next-j-5a28376cccd8?source=rss-7ec694dca72a------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a28376cccd8</guid>
            <dc:creator><![CDATA[Adebola Desmond]]></dc:creator>
            <pubDate>Mon, 10 Aug 2026 14:50:29 GMT</pubDate>
            <atom:updated>2026-08-10T14:50:29.326Z</atom:updated>
            <content:encoded><![CDATA[<h3>From Blank Folder to Live Site: Building OG Lens Studios, a Luxury Photography Portfolio with Next.js 14</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SvLZM5u_x68YwpVs9MYWig.png" /></figure><p>Every project starts with a brief. This one was short and exacting: <strong>luxury, minimal, editorial</strong> — a photography studio site that felt closer to Leica or Vogue than a typical portfolio template.</p><p>White, black, gold. No gradients. No flashy animation. Generous whitespace. Elegant typography.</p><p>That kind of brief is deceptively hard. It’s easy to build a website that <em>works</em>. It’s harder to build one that’s restrained on purpose — where every animation, every spacing decision, and every font choice is intentional, and nothing is there simply because it was easy to add.</p><p>Here’s how OG Lens Studios came together, and a few of the real problems I ran into along the way.</p><h3>The Stack</h3><ul><li><strong>Next.js 14</strong> with the App Router and <strong>TypeScript</strong> throughout</li><li><strong>Tailwind CSS</strong> for styling, with a small custom design-token layer for the brand’s colors and type scale</li><li><strong>Framer Motion</strong>, used sparingly — fade-ups on scroll, a smooth mobile menu, and lightbox transitions</li><li><strong>next/image</strong> for optimized, responsive images</li><li><strong>@fontsource</strong> for locally bundled fonts</li><li><strong>react-icons</strong> and <strong>lucide-react</strong> for iconography</li><li><strong>ESLint</strong> and <strong>Prettier</strong> for consistency</li><li><strong>GitHub</strong> for version control</li><li>A deployment setup compatible with platforms such as <strong>Vercel and Netlify</strong></li></ul><p>The goal wasn’t to use a large number of technologies. It was to use a focused stack that could deliver a fast, maintainable and scalable website.</p><h3>Designing Within Constraints</h3><p>“No gradients, no flashy animation” is a real constraint, not a suggestion. It rules out many of the default ways a website communicates hierarchy and polish.</p><p>So the hierarchy had to come from somewhere else:</p><ul><li>A tight, deliberate color system: warm ivory, near-black, and a single muted gold accent — used sparingly, so it actually reads as an accent</li><li>A serif display face, <strong>Cormorant Garamond</strong>, paired with the clean sans-serif <strong>Inter</strong> for body text and navigation</li><li>Generous whitespace and a consistent 1440px content width, so the layout never feels cramped even with large images</li><li>Thin hairline borders instead of heavy shadows or card-based layouts, keeping the interface closer to print and editorial design than a typical SaaS dashboard</li></ul><p>The result is a site where the <em>content</em> — the photography — does most of the visual work, while the interface gets out of the way.</p><h3>The Portfolio: Filtering and a Fullscreen Viewer</h3><p>The portfolio page needed to do three things well:</p><ol><li>Filter by category</li><li>Open any image in a distraction-free fullscreen view</li><li>Feel natural to navigate on mobile</li></ol><p>The categories include:</p><ul><li>Wedding</li><li>Portrait</li><li>Lifestyle</li><li>Family</li><li>Editorial</li></ul><p>The filtering is handled through client-side state. Selecting a category updates the active filter and re-renders the matching images with a subtle staggered animation.</p><p>The fullscreen viewer was the more interesting part.</p><p>It needed:</p><ul><li><strong>Keyboard support</strong> — arrow keys to move between images and Escape to close</li><li><strong>Touch swipe support</strong> — important for mobile visitors</li><li><strong>Body scroll locking</strong> while the viewer is open</li><li>Responsive image presentation</li></ul><p>Rather than reaching for another lightbox library, I built the interaction around three small, composable hooks:</p><p>useKeyPress</p><p>useSwipe</p><p>useLockBodyScroll</p><p>Each hook has one responsibility and can be reused independently.</p><p>The Lightbox component then wires those behaviours together.</p><p>It’s a small example of a pattern I like generally: when a UI requirement is specific enough, a small custom hook can sometimes be clearer and lighter than adding another dependency.</p><h3>A Build Problem Worth Mentioning</h3><p>Not everything went smoothly on the first pass, and I think it’s worth being honest about that.</p><p>I initially wired up the fonts using next/font/google, which is a standard Next.js approach. Next.js downloads the required font files during the build and self-hosts them rather than relying on the browser to fetch them from Google at runtime.</p><p>However, when I went to verify the production build in a network-restricted environment, the build couldn’t reach the required font source.</p><p>Rather than treating it as a one-off environment issue, I switched to <strong>@fontsource</strong> packages instead.</p><p>With @fontsource, the font files are packaged through npm and included with the project, giving me more control over the build environment and making the font assets available without needing to retrieve them during the build.</p><p>It was a relatively small change, but it reinforced something I like about development: sometimes a frustrating constraint leads to a more predictable implementation.</p><p><strong>The deployment workflow is straightforward</strong>:</p><pre>GitHub<br>   ↓<br>Netlify - Vercel<br>   ↓<br>Build<br>   ↓<br>Live Website</pre><p>Connect the GitHub repository, configure the project, and future pushes can trigger new deployments automatically.</p><p>It’s a small detail, but it’s the kind of thing that’s easy to overlook when you’re focused on the code and simply want to get something live.</p><h3>What’s Next?</h3><p>The site currently ships with on-brand placeholder imagery so the experience is fully functional while the final photography is being prepared.</p><p>The next step is replacing those placeholders with the studio’s actual work and refining the experience based on real content and visitor behaviour.</p><p>There is also room for future expansion:</p><ul><li>Booking</li><li>Testimonials</li><li>Pricing guide</li><li>Blog</li><li>Private client galleries</li><li>Pixieset integration</li><li>More advanced client workflows</li></ul><p>The goal isn’t to add every possible feature.</p><p>It’s to build the right features when they’re actually needed.</p><h3>Final Thoughts</h3><p>OG Lens Studios was a good reminder that good design isn’t always about adding more.</p><p>Sometimes it’s about removing everything that doesn’t need to be there.</p><p>The challenge wasn’t simply to build a website that worked. It was to create a digital space where the photography could speak first.</p><p><strong>That’s what I wanted OG Lens Studios to feel like.</strong></p><h3>Live Site</h3><p><a href="https://og-lens-studios.vercel.app/">OG Lens Studios — Live Website</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a28376cccd8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Water Quality Assessment Mobile App Using Flutter (With Automatic WQI Calculation, PDF…]]></title>
            <link>https://medium.com/@adeboladesmond18/building-a-water-quality-assessment-mobile-app-using-flutter-with-automatic-wqi-calculation-pdf-a22c700ac982?source=rss-7ec694dca72a------2</link>
            <guid isPermaLink="false">https://medium.com/p/a22c700ac982</guid>
            <dc:creator><![CDATA[Adebola Desmond]]></dc:creator>
            <pubDate>Mon, 22 Dec 2025 19:01:04 GMT</pubDate>
            <atom:updated>2025-12-22T19:01:04.321Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building a Water Quality Assessment Mobile App Using Flutter (With Automatic WQI Calculation, PDF Reports &amp; GPS Tagging)</h3><p>Full Source Code:<a href="https://github.com/Dessybaba/water_quality.git">https://github.com/Dessybaba/water_quality.git</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RuDPwmVXkzqroD_vApMx0A.png" /></figure><h3>Introduction</h3><p>Water is life — but in many parts of the world, water quality is still a critical problem. As a hydrologist<strong> </strong>and a mobile developer using Flutter, I wanted to build something practical, impactful, and relevant to both fields.</p><p>That idea eventually became this project:</p><p>👉 <strong>A Water Quality Assessment Mobile App</strong></p><p>Built with <strong>Flutter + Hive</strong>, capable of calculating Water Quality Index (WQI), generating PDF reports, tagging sampling locations with GPS, and storing all results offline.</p><p>In this article, I’ll walk you through:</p><ul><li>Why I built the app</li><li>Core features</li><li>Technical architecture</li><li>The WQI calculation method</li><li>Challenges I faced</li><li>What I plan to add next</li></ul><p>If you’re a developer, a hydrology student, or anyone working in environmental monitoring — this project might inspire you to build your own tools.</p><h3>🧠 Why I Built This App</h3><p>In hydrology, water quality monitoring is one of the most important tasks. But on the field, data is usually recorded manually in notebooks. Later, someone sits down to calculate the Water Quality Index (WQI), classify the water, write a report, and organize the results.</p><p>This process is:</p><p>❌ Time-consuming<br> ❌ Error-prone<br> ❌ Hard to digitize<br> ❌ Difficult to track over long periods</p><p>So I asked myself:</p><p><strong>“What if all these steps could happen instantly on a mobile phone?”</strong></p><p>That question led to the creation of the <strong>Water Quality Assessment App</strong>.</p><h3>🛠 Tech Stack Overview</h3><p>The app is built entirely with <strong>Flutter</strong>, focusing on performance, clean UI, and offline support.</p><p><strong>Core Technologies:</strong></p><ul><li><strong>Flutter (Dart)</strong> — Cross-platform mobile development</li><li><strong>Provider</strong> — State management</li><li><strong>Hive</strong> — Local offline storage</li><li><strong>Geolocator &amp; Geocoding</strong> — GPS location tagging</li><li><strong>PDF &amp; Printing</strong> — Report generation</li><li><strong>Google Fonts &amp; SVG</strong> — UI/UX enhancement</li></ul><p>This stack ensures the app works <strong>offline-first</strong>, which is critical for field data collection in remote areas.</p><h3>📁 Project Structure (Simplified)</h3><pre>lib/<br>├── models/  <br>│   └── water_quality_record.dart  <br>├── screens/  <br>│   ├── home_screen.dart  <br>│   ├── data_form_screen.dart  <br>│   └── record_detail_screen.dart  <br>├── services/  <br>│   ├── wqi_calculator.dart  <br>│   ├── location_service.dart  <br>│   ├── pdf_service.dart  <br>│   └── storage_service.dart  <br>├── widgets/  <br>│   └── water_quality_card.dart  <br>└── theme/  <br>    └── app_theme.dart</pre><h3>⚙ Setup Guide</h3><ol><li><strong>Clone the Repo</strong></li></ol><pre>git clone https://github.com/Dessybaba/water_quality.git<br>cd water_quality</pre><p><strong>2. Install Dependencies</strong><br>Add this to your pubspec.yaml:</p><pre>dependencies:<br>  flutter:<br>    sdk: flutter<br><br>  flutter_svg: ^2.0.9<br>  google_fonts: ^6.1.0<br><br>  # State Management<br>  provider: ^6.1.1<br><br>  # Local Storage<br>  hive: ^2.2.3<br>  hive_flutter: ^1.1.0<br>  path_provider: ^2.1.1<br><br>  # Location Services<br>  geolocator: ^10.1.0<br>  geocoding: ^2.1.1<br>  permission_handler: ^11.1.0<br><br>  # PDF Generation<br>  pdf: ^3.10.7<br>  printing: ^5.12.0<br>  path: ^1.8.3<br><br>  # Utils<br>  intl: ^0.19.0<br>  uuid: ^4.2.1<br>  share_plus: ^7.2.1<br><br>dev_dependencies:<br>  hive_generator: ^2.0.1<br>  </pre><p>Then run:</p><pre>flutter pub get<br>flutter run</pre><h3>🚀 <strong>What the App Can Do</strong></h3><p>ere are the major features I built:</p><p>1. <strong>Field Data Input Form</strong></p><p>Users can enter major water quality parameters:</p><ul><li>pH</li><li>EC</li><li>TDS</li><li>DO</li><li>BOD</li><li>COD</li><li>Turbidity</li><li>Total Coliform</li><li>Fecal Coliform</li><li>Nitrate</li><li>Phosphate</li></ul><p>The form is simple, clean, and optimized for quick field use.</p><p>2. <strong>Automatic WQI Calculation</strong></p><p>Once the user enters the parameters, the app automatically computes the <strong>Water Quality Index</strong> using the <strong>weighted arithmetic method</strong>.</p><p>The app instantly classifies the water as:</p><ul><li><strong>Excellent</strong></li><li><strong>Good</strong></li><li><strong>Poor</strong></li><li><strong>Very Poor</strong></li></ul><p>This alone saves hours of manual calculation.</p><p>3. <strong>GPS Tagging for Sampling Points</strong></p><p>With one tap, the app captures:</p><p>📍 Latitude<br>📍 Longitude<br>📍 Accuracy</p><p>This allows users to track exactly where each sample was collected during fieldwork.</p><p>4. <strong>PDF Report Generation</strong></p><p>Each assessment can be exported as a professional PDF report containing:</p><ul><li>Parameter values</li><li>WQI score</li><li>Water classification</li><li>GPS coordinates</li><li>Notes and metadata</li><li>Timestamp</li></ul><p>You can share or print the PDF directly.</p><p>5. <strong>Offline Storage With Hive</strong></p><p>I used <strong>Hive</strong> for local storage so the app works 100% offline — perfect for field locations without internet.</p><p>Users can</p><ul><li>Save assessments</li><li>View history</li><li>Edit or delete records</li><li>Re-generate reports anytime</li></ul><h3>📊 <strong>How the WQI Calculation Works</strong></h3><p>The app uses the <strong>Weighted Arithmetic Index Method</strong>, where:</p><ul><li>Each water parameter has a weight (Wi)</li><li>A quality rating (Qi) is calculated</li><li>WQI = Σ(Qi × Wi)</li></ul><p><strong>Parameter Weights I Used:</strong></p><pre>| Parameter        | Weight |<br>| ---------------- | ------ |<br>| Dissolved Oxygen | 0.17   |<br>| Total Coliform   | 0.12   |<br>| pH               | 0.11   |<br>| BOD              | 0.11   |<br>| Turbidity        | 0.09   |<br>| TDS              | 0.08   |<br>| EC               | 0.07   |<br>| COD              | 0.10   |<br>| Fecal Coliform   | 0.10   |<br>| Nitrate          | 0.03   |<br>| Phosphate        | 0.02   |</pre><p><strong>Classification</strong></p><ul><li><strong>≥ 90 → Excellent</strong></li><li><strong>70–89 → Good</strong></li><li><strong>50–69 → Poor</strong></li><li><strong>&lt; 50 → Very Poor</strong></li></ul><p>All of this happens instantly inside the app.</p><h3>🎯 <strong>How the App Works (User Flow)</strong></h3><ol><li>Tap New Assessment</li><li>Enter water parameters</li><li>Tap Get GPS Location</li><li>Tap Calculate &amp; Save</li><li>View the WQI result</li><li>Generate PDF (if needed)</li><li>Access saved history anytime</li></ol><h3>⚙️ <strong>Challenges I Faced</strong></h3><p>Here were the biggest challenges while building the app:</p><p>1.<strong> Getting accurate WQI formulas:<br></strong>Hydrology formulas vary by country and research paper. I had to standardize the weighted arithmetic method.</p><p>2. <strong>Designing a clean, offline-first database:<br></strong>Hive made it easier, but structuring the models took planning.</p><p>3. <strong>PDF formatting:<br></strong>Ensuring the report looked professional on all devices was tricky.</p><h3>🚀 Future Enhancements</h3><p>Features I plan to add:</p><ul><li>Firebase cloud backup</li><li>Import/export to CSV</li><li>Charts and trend analysis</li><li>Map-based visualization of sampling points</li><li>Multiple WQI methods</li><li>User accounts &amp; syncing</li><li>Dark mode</li></ul><h3>🧪 <strong>Real-World Use Cases</strong></h3><p>This app can be applied in multiple real-world scenarios:</p><ul><li><strong>Groundwater quality assessment projects</strong></li><li><strong>Environmental Impact Assessments (EIA)</strong></li><li><strong>Academic research &amp; student fieldwork</strong></li><li><strong>Water resource management agencies</strong></li><li><strong>NGOs monitoring rural water sources</strong></li><li><strong>Industrial water quality documentation</strong></li></ul><h3>📌Final Thoughts</h3><p>This project represents the intersection of <strong>technology, environmental science, and real-world impact</strong>. It demonstrates how mobile applications can simplify complex scientific processes while improving accuracy, accessibility, and efficiency.</p><p>If you’re interested in Flutter, environmental tech, or data-driven mobile apps, feel free to explore the repository:</p><p>👉 <strong>GitHub Repo:</strong> Water Quality Assessment App</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a22c700ac982" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Designed a Cloud Architecture for a Multi-Vendor E-Commerce MVP @ BIVY TECH]]></title>
            <link>https://medium.com/@adeboladesmond18/how-i-designed-a-cloud-architecture-for-a-multi-vendor-e-commerce-mvp-bivy-tech-bd367ccbbe45?source=rss-7ec694dca72a------2</link>
            <guid isPermaLink="false">https://medium.com/p/bd367ccbbe45</guid>
            <dc:creator><![CDATA[Adebola Desmond]]></dc:creator>
            <pubDate>Thu, 10 Jul 2025 15:45:03 GMT</pubDate>
            <atom:updated>2025-07-10T15:52:07.541Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*xt1JgM_D4h1sliuLV2UCuQ.png" /></figure><h3>Introduction</h3><p>In today’s digital economy, multi-vendor e-commerce platforms have become the backbone of online retail, connecting millions of buyers with thousands of sellers worldwide. This project challenged me to design a modern, secure, and scalable cloud architecture for a multi-vendor e-commerce platform similar to Amazon, Jumia, or AliExpress.</p><p>My approach focused on creating a cloud-native solution that prioritizes scalability, security, and performance while maintaining cost-effectiveness for an MVP stage. I selected AWS as the cloud platform due to its comprehensive service ecosystem and proven track record in supporting large-scale e-commerce operations.</p><h3>⚙ Core Components</h3><h3>Frontend Hosting</h3><p><strong>Technology Stack</strong>: React with Next.js for server-side rendering and optimal performance <strong>AWS Services</strong>:</p><ul><li><strong>Amazon S3</strong>: Hosts static assets (HTML, CSS, JS, images)</li><li><strong>CloudFront CDN</strong>: Global content delivery network with edge locations for reduced latency</li><li><strong>Route 53</strong>: DNS management with health checks and failover routing</li></ul><p><strong>Why This Choice</strong>: This serverless approach ensures high availability, automatic scaling, and cost-effectiveness. CloudFront provides global reach with caching capabilities, while Next.js offers SEO benefits crucial for e-commerce discoverability.</p><h3>Backend API</h3><p><strong>Technology Stack</strong>: Node.js with Express.js framework <strong>AWS Services</strong>:</p><ul><li><strong>Amazon ECS with Fargate</strong>: Container orchestration without server management</li><li><strong>Application Load Balancer (ALB)</strong>: Distributes traffic across multiple containers</li><li><strong>API Gateway</strong>: Manages REST APIs with throttling, authentication, and monitoring</li><li><strong>Auto Scaling Groups</strong>: Automatically adjusts capacity based on demand</li></ul><p><strong>Why This Choice</strong>: Containers provide consistent deployment environments and easy scaling. Fargate eliminates server management overhead while maintaining flexibility. The combination ensures high availability and handles traffic spikes common in e-commerce.</p><h3>Database Architecture</h3><p><strong>Primary Database</strong>: Amazon RDS PostgreSQL with Multi-AZ deployment</p><ul><li>Handles transactional data (users, products, orders, payments)</li><li>Automated backups and point-in-time recovery</li><li>Read replicas for improved performance</li></ul><p><strong>NoSQL Database</strong>: Amazon DynamoDB</p><ul><li>Manages shopping cart sessions and user preferences</li><li>Provides microsecond latency for real-time features</li><li>Automatically scales based on demand</li></ul><p><strong>Caching Layer</strong>: Amazon ElastiCache (Redis)</p><ul><li>Caches frequently accessed product data</li><li>Stores user sessions for faster authentication</li><li>Reduces database load and improves response times</li></ul><p><strong>Search Engine</strong>: Amazon OpenSearch</p><ul><li>Powers product search and filtering</li><li>Provides analytics and logging capabilities</li><li>Supports complex queries and recommendations</li></ul><p><strong>Why This Choice</strong>: This multi-database approach leverages each technology’s strengths. PostgreSQL ensures ACID compliance for transactions, DynamoDB provides fast session management, and Redis caching significantly improves performance.</p><h3>CI/CD Pipeline</h3><p><strong>Version Control</strong>: GitHub with branching strategy (main, develop, feature branches) <strong>Build Pipeline</strong>:</p><ol><li><strong>Source Stage</strong>: GitHub webhooks trigger pipeline on code commits</li><li><strong>Build Stage</strong>: AWS CodeBuild compiles code, runs tests, and creates Docker images</li><li><strong>Test Stage</strong>: Automated unit tests, integration tests, and security scans</li><li><strong>Deploy Stage</strong>: AWS CodeDeploy manages blue-green deployments to ECS</li></ol><p><strong>Container Registry</strong>: Amazon ECR stores Docker images with vulnerability scanning <strong>Infrastructure as Code</strong>: AWS CloudFormation templates for consistent deployments <strong>Monitoring</strong>: CloudWatch integrates with the pipeline for deployment tracking</p><p><strong>Why This Choice</strong>: This pipeline ensures code quality, reduces deployment risks, and enables rapid iteration. Blue-green deployments provide zero-downtime updates crucial for e-commerce platforms.</p><h3>Security &amp; Monitoring</h3><p><strong>Web Application Firewall (WAF)</strong>: Protects against common web attacks <strong>VPC Configuration</strong>: Private subnets for databases, public subnets for load balancers <strong>IAM Roles</strong>: Least privilege access with service-specific permissions <strong>AWS Secrets Manager</strong>: Secure storage of database credentials and API keys <strong>CloudTrail</strong>: Audit logging for compliance and security monitoring <strong>CloudWatch</strong>: Real-time monitoring with custom metrics and alerts</p><h3>Scalability, Security &amp; Cloud-Native Best Practices</h3><h3>Scalability Features</h3><ul><li><strong>Horizontal Scaling</strong>: Auto Scaling Groups automatically adjust capacity</li><li><strong>Database Scaling</strong>: Read replicas and connection pooling</li><li><strong>CDN Caching</strong>: Reduces origin server load and improves global performance</li><li><strong>Microservices Architecture</strong>: Independent scaling of different components</li></ul><h3>Security Measures</h3><ul><li><strong>Network Security</strong>: VPC with private subnets and security groups</li><li><strong>Data Encryption</strong>: At rest (RDS, S3) and in transit (HTTPS, TLS)</li><li><strong>Authentication</strong>: JWT tokens with API Gateway authorization</li><li><strong>DDoS Protection</strong>: CloudFront and WAF provide automatic protection</li><li><strong>Compliance</strong>: PCI DSS considerations for payment processing</li></ul><h3>Cloud-Native Design</h3><ul><li><strong>Serverless Components</strong>: Lambda functions for background tasks</li><li><strong>Container Orchestration</strong>: ECS Fargate for scalable, manageable deployments</li><li><strong>Managed Services</strong>: Leverages AWS managed services to reduce operational overhead</li><li><strong>Event-Driven Architecture</strong>: SQS and SNS for decoupled communication</li></ul><h3>What I Learned</h3><h3>Technical Discoveries</h3><p><strong>Container Orchestration Complexity</strong>: Initially, I underestimated the complexity of properly configuring ECS with Fargate. Learning about task definitions, service discovery, and load balancer integration was crucial for creating a production-ready setup.</p><p><strong>Database Strategy</strong>: The decision to use multiple database types wasn’t just about performance — it was about choosing the right tool for each specific use case. PostgreSQL for consistency, DynamoDB for speed, and Redis for caching created a powerful combination.</p><p><strong>Security Depth</strong>: Implementing true security requires layers. WAF protects the application, VPC secures the network, IAM controls access, and encryption protects data. Each layer addresses different threat vectors.</p><h3>Challenges Overcome</h3><p><strong>Cost Optimization</strong>: Balancing performance with cost required careful consideration of instance types, storage classes, and caching strategies. Learning about AWS pricing models helped optimize the architecture.</p><p><strong>Monitoring Strategy</strong>: Setting up meaningful alerts and dashboards required understanding what metrics actually matter for e-commerce platforms — not just technical metrics, but business-relevant ones like conversion rates and cart abandonment.</p><p><strong>CI/CD Integration</strong>: Connecting all the pieces of the deployment pipeline while maintaining security and reliability required careful planning and testing of failure scenarios.</p><h3>Key Insights</h3><p><strong>Start Simple, Scale Smart</strong>: Beginning with a solid foundation allows for growth without major architectural changes. The containerized approach provides flexibility for future enhancements.</p><p><strong>Documentation Matters</strong>: Complex architectures require excellent documentation for team collaboration and future maintenance. Infrastructure as Code helps with this significantly.</p><p><strong>Monitor Everything</strong>: In a distributed system, comprehensive monitoring isn’t optional — it’s essential for maintaining reliability and performance.</p><p>This architecture provides a robust foundation for a multi-vendor e-commerce platform that can scale from MVP to enterprise-level operations while maintaining security, performance, and cost-effectiveness.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd367ccbbe45" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Chatbot with Gemini and Flutter: A Cross-Platform Journey into Conversational AI.]]></title>
            <link>https://medium.com/@adeboladesmond18/building-a-chatbot-with-gemini-and-flutter-a-cross-platform-journey-into-conversational-ai-0714d4ae9fd3?source=rss-7ec694dca72a------2</link>
            <guid isPermaLink="false">https://medium.com/p/0714d4ae9fd3</guid>
            <dc:creator><![CDATA[Adebola Desmond]]></dc:creator>
            <pubDate>Fri, 04 Jul 2025 18:43:16 GMT</pubDate>
            <atom:updated>2025-07-04T18:43:16.567Z</atom:updated>
            <content:encoded><![CDATA[<p>Full Source Code: GitHub <a href="https://github.com/Dessybaba/Chatbot.git">https://github.com/Dessybaba/Chatbot.git</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*okR-Bmz7xNa23cdHlfk3MA.png" /></figure><h3>🧠 Why I Built This Chatbot with Flutter &amp; Gemini</h3><p>As someone fascinated by conversational AI, I wanted to create a chatbot that feels intuitive, responsive, and works seamlessly across both mobile and web platforms.</p><p>Flutter’s beautiful UI toolkit and cross-platform capabilities paired perfectly with Google’s Gemini language model to deliver that experience. The result? A lightweight chatbot that works on Android, iOS, and the web — and can be deployed in minutes.</p><h3>🛠 Tech Stack Overview</h3><p>Here’s what powers the app:</p><ul><li><strong>Flutter</strong> — For building the UI across all platforms.</li><li><strong>Gemini API</strong> — For handling intelligent conversations.</li><li><strong>Provider</strong> — For efficient and lightweight state management.</li><li><strong>HTTP package</strong> — To send user messages to Gemini and receive responses.</li><li><strong>Flutter Dotenv</strong> — To securely manage your API keys.</li></ul><h3>📁 Project Structure (Simplified)</h3><pre>lib/<br> ├── chat/<br> │   ├── data/            # Gemini API service<br> │   ├── model/           # Chat message model<br> │   └── presentation/    # UI components &amp; chat provider<br> └── main.dart<br><br>.env                    # Gemini API Key<br>pubspec.yaml</pre><h3>⚙ Setup Guide</h3><p><strong>1. Clone the Repo</strong></p><pre>git clone https://github.com/Dessybaba/Chatbot.git<br>cd Chatbot</pre><p><strong>2. Install Dependencies</strong><br> Add this to your pubspec.yaml:</p><pre>dependencies:<br>  flutter:<br>    sdk: flutter<br>  http: ^1.2.0<br>  provider: ^6.1.5<br>  flutter_dotenv: ^5.2.1</pre><p>Then run:</p><pre>flutter pub get</pre><p><strong>3. Configure Gemini API Key</strong><br> Create a .env file in the root folder:</p><pre>GEMINI_API_KEY=your-api-key-here</pre><p>Load the environment variables in main.dart:</p><pre>import &#39;package:flutter_dotenv/flutter_dotenv.dart&#39;;<br>Future&lt;void&gt; main() async {<br>  await dotenv.load(fileName: &quot;.env&quot;);<br>  runApp(<br>    ChangeNotifierProvider(<br>      create: (_) =&gt; ChatProvider(),<br>      child: MyApp(),<br>    ),<br>  );<br>}</pre><h3>💬 How It Works</h3><ol><li>The user types a message into the chat interface.</li><li>The app sends the message to Gemini’s API using an HTTP POST request.</li><li>Gemini responds with a smart reply.</li><li>The response appears in the chat UI via Provider for real-time updates.</li></ol><h3>🧪 Testing the Chatbot</h3><p>Try these sample prompts:</p><ul><li>“Tell me a fun fact”</li><li>“What’s the capital of Norway?”</li><li>“Explain recursion like I’m 5”</li></ul><p>Also test edge cases:</p><ul><li>Empty input</li><li>Extremely long messages</li><li>UI responsiveness across screen sizes (mobile vs web)</li></ul><h3>✅ Lessons Learned</h3><ul><li>Flutter is incredibly flexible for building real-time interfaces.</li><li>Gemini’s API is powerful but demands solid error handling.</li><li>Dotenv is essential for API key security.</li><li>Provider offers a clean and efficient state management solution.</li></ul><h3>🚀 Want to Take It Further?</h3><p>Here are some ideas to expand the project:</p><ul><li>Add local storage to persist chat history.</li><li>Integrate push notifications.</li><li>Enable dark mode and accessibility features.</li><li>Deploy to Firebase Hosting or the Play Store.</li></ul><h3>📌 Final Thoughts</h3><p>Combining Flutter with Gemini gave me the best of both worlds: a slick, cross-platform UI and a powerful AI backend. If you’re looking to build something smart, fast, and beautiful, this stack is a great starting point.</p><p>👉 <strong>Try It Yourself</strong><br> Clone the repo, run the app, and make it your own:<br> 🔗 <a href="https://github.com/Dessybaba/Chatbot.git">GitHub Repo</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0714d4ae9fd3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>