<?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 Mayuri Nadeesha on Medium]]></title>
        <description><![CDATA[Stories by Mayuri Nadeesha on Medium]]></description>
        <link>https://medium.com/@nadeeshamayuri15?source=rss-a83292d45d2d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*JOc-Kx_pgiJcnyAr</url>
            <title>Stories by Mayuri Nadeesha on Medium</title>
            <link>https://medium.com/@nadeeshamayuri15?source=rss-a83292d45d2d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 03:43:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nadeeshamayuri15/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[Cryptographic Failures Explained: When “Encrypted” Doesn’t Mean Secure]]></title>
            <link>https://medium.com/@nadeeshamayuri15/cryptographic-failures-explained-when-encrypted-doesnt-mean-secure-a6d451bf6e9f?source=rss-a83292d45d2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6d451bf6e9f</guid>
            <category><![CDATA[owasp]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[data-security]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Mayuri Nadeesha]]></dc:creator>
            <pubDate>Sat, 22 Aug 2026 17:05:16 GMT</pubDate>
            <atom:updated>2026-08-22T17:05:16.927Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Part 3 of the Penetration Testing &amp; OWASP Top 10 series</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gsj0jydMJz95lYxp4-bVHg.png" /></figure><p><strong>Introduction</strong></p><p>In Part 2, we looked at Broken Access Control - what happens when an application fails to properly restrict <strong><em>who</em></strong> can do <strong><em>what</em></strong>. This time, we’re tackling a different kind of failure: what happens when sensitive data itself isn’t properly protected, even if access controls are working fine.</p><p>This is <strong>Cryptographic Failures</strong>, category A02 on the OWASP Top 10. It used to be called “Sensitive Data Exposure” in earlier versions of the list, but OWASP renamed it to focus on the <strong><em>root cause -</em></strong>failures in how data is encrypted, hashed, or transmitted - rather than just the <strong><em>symptom</em></strong> of data being exposed.</p><p>The core idea of this post: <strong>encryption is not a checkbox.</strong> Simply saying “we encrypt our data” doesn’t mean much if it’s implemented incorrectly. Let’s look at why.</p><p><strong>What Are Cryptographic Failures?</strong></p><p>A cryptographic failure happens whenever sensitive data - passwords, credit card numbers, health records, session tokens, personal information - is exposed or compromised because it wasn’t properly protected in storage or in transit.</p><p>This can happen in a few different ways:</p><p>- Data is sent or stored <strong>without encryption at all</strong></p><p>- Data is encrypted, but using <strong>weak or outdated algorithms</strong></p><p>- Encryption is implemented <strong>correctly in theory but poorly in practice</strong> (e.g., hardcoded keys)</p><p>- Sensitive data is <strong>collected unnecessarily</strong> in the first place</p><p><strong>Common Examples of Cryptographic Failures</strong></p><p><strong>1. Transmitting Data Without Encryption (No HTTPS)</strong></p><p><strong>Example: </strong>Imagine a login page still using plain HTTP instead of HTTPS: <a href="http://examplestore.com/login"><em>http://examplestore.com/login</em></a></p><p>When a user submits their username and password, that data travels across the network as plain, readable text. Anyone intercepting the traffic - for example, on a public Wi-Fi network at a coffee shop - could potentially read those credentials directly. This is why HTTPS (which encrypts traffic between the browser and server) is considered non-negotiable for any application handling sensitive data today.</p><p><strong>2. Weak or Outdated Hashing for Passwords</strong></p><p>Storing passwords isn’t just about “encrypting” them - passwords should be <strong>hashed</strong>, not encrypted, using algorithms specifically designed for that purpose.</p><p><strong>Example: </strong>A legacy system might store passwords using an outdated hashing algorithm like <strong>MD5</strong> or <strong>SHA-1</strong>. These algorithms were never designed to protect passwords and can be cracked quickly using modern hardware and precomputed “rainbow tables.” If that database is ever breached, attackers could recover a large percentage of the original passwords within hours.</p><p>Modern applications should use password-specific hashing algorithms like <strong>bcrypt</strong>, <strong>scrypt</strong>, or <strong>Argon2</strong>, which are intentionally slow and include built-in protections like salting (adding random data to each password before hashing) to prevent these kinds of attacks.</p><p><strong>3. Hardcoded or Weak Encryption Keys</strong></p><p><strong>Example: </strong>A mobile banking app encrypts locally stored data, but a pentester decompiles the app and finds the encryption key hardcoded directly in the source code:</p><p>ENCRYPTION_KEY = “MyStaticKey123”</p><p>Since every copy of the app uses the same key, anyone who can access the app’s code - which isn’t difficult - can decrypt any user’s locally stored data. Strong encryption becomes meaningless if the key protecting it isn’t properly secured.</p><p><strong>4. Exposing Sensitive Data in URLs or Logs</strong></p><p><strong>Example: </strong>An e-commerce checkout page passes a credit card token as part of the URL: <a href="https://exampleshop.com/checkout?card_token=4522abf9931"><em>https://exampleshop.com/checkout?card_token=4522abf9931</em></a></p><p>URLs are frequently logged by browsers, proxy servers, and analytics tools. Even if the connection itself is encrypted via HTTPS, that sensitive token can end up sitting in plaintext log files, browser history, or third-party analytics dashboards - completely bypassing the protection HTTPS was meant to provide.</p><p><strong>5. Collecting More Sensitive Data Than Necessary</strong></p><p><strong>Example: </strong>A newsletter signup form asks for a user’s full date of birth, home address, and government ID number - none of which are actually needed to send a newsletter. Every extra piece of sensitive data collected is another piece of data that could be exposed if the system is ever breached. The best protection against data exposure is often simply <strong>not storing sensitive data you don’t need.</strong></p><p><strong>How Pentesters Test for Cryptographic Failures</strong></p><p>When assessing an application for this category, pentesters typically look at:</p><p>- <strong>Transport security -</strong> Confirming HTTPS is enforced everywhere, with no fallback to plain HTTP, and checking for valid, up-to-date TLS certificates.</p><p>- <strong>Data at rest- </strong>Reviewing how sensitive data is stored in databases, checking whether it’s encrypted or hashed appropriately.</p><p>- <strong>Algorithm review -</strong> Identifying outdated or weak cryptographic algorithms (like MD5, SHA-1, or DES) still in use.</p><p>- <strong>Key management -</strong> Looking for hardcoded keys, weak key generation, or keys stored insecurely alongside the data they protect.</p><p>- <strong>Data exposure points -</strong>Checking URLs, error messages, logs, and browser storage (like local storage or cookies) for sensitive data that shouldn’t be there.</p><p><strong>How Developers Can Prevent Cryptographic Failures</strong></p><p>- <strong>Encrypt data in transit and at rest:</strong> Use HTTPS everywhere (with HSTS enabled) and encrypt sensitive data stored in databases or files.</p><p>- <strong>Use strong, modern, well-vetted algorithms:</strong> Avoid rolling your own cryptography — rely on established, industry-standard libraries and algorithms (e.g., AES-256 for encryption, bcrypt/Argon2 for password hashing).</p><p>- <strong>Never hardcode keys:</strong> Use secure key management systems (like a cloud provider’s key vault service) rather than embedding keys directly in source code.</p><p>- <strong>Classify your data:</strong> Know what counts as sensitive in your application (passwords, financial data, health data, personal identifiers) and apply stronger protections specifically to that data.</p><p>- <strong>Minimize data collection and retention:</strong> Only collect what’s truly necessary, and delete sensitive data once it’s no longer needed.</p><p>- <strong>Avoid putting sensitive data in URLs:</strong> Use secure request bodies or headers instead, and be mindful of what ends up in logs.</p><p><strong>Wrapping Up</strong></p><p>Cryptographic Failures are a reminder that security isn’t just about keeping attackers <strong><em>out</em></strong><em> - </em>it’s also about making sure that even if data is somehow accessed, it remains unreadable and useless to whoever gets it. Encryption is a powerful tool, but only when it’s implemented thoughtfully: strong algorithms, secure key handling, and a clear understanding of what data actually needs protecting.</p><p>In the next post, we’ll dive into <strong>Injection - </strong>one of the most well-known vulnerability categories, covering SQL injection, command injection, and how attackers sneak malicious input into applications.</p><p>📖 Catch up on the series:</p><p>- [<a href="https://medium.com/@nadeeshamayuri15/penetration-testing-a-practical-tour-through-the-owasp-top-10-082c19f5741d?sharedUserId=nadeeshamayuri15">Part 1: Penetration Testing — A Practical Tour Through the OWASP Top 10</a>]</p><p>- [<a href="https://medium.com/@nadeeshamayuri15/broken-access-control-how-attackers-bypass-permissions-and-how-to-test-for-it-2961ab5249ad?sharedUserId=nadeeshamayuri15">Part 2: Broken Access Control — How Attackers Bypass Permissions</a>]</p><p><strong><em>Disclaimer:</em></strong><em> This series is intended for educational purposes to support ethical, authorized security testing and secure software development. Never test systems you don’t own or lack explicit written permission to assess.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6d451bf6e9f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Broken Access Control: How Attackers Bypass Permissions (and How to Test for It)]]></title>
            <link>https://medium.com/@nadeeshamayuri15/broken-access-control-how-attackers-bypass-permissions-and-how-to-test-for-it-2961ab5249ad?source=rss-a83292d45d2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/2961ab5249ad</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[owasp]]></category>
            <category><![CDATA[web-security-academy]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[Mayuri Nadeesha]]></dc:creator>
            <pubDate>Thu, 20 Aug 2026 17:36:47 GMT</pubDate>
            <atom:updated>2026-08-20T17:40:10.516Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>Part 2 of the Penetration Testing &amp; OWASP Top 10 series</em></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fdN9XhaLdFYDSpPquUbGCw.png" /></figure><p><strong>Introduction</strong></p><p>In the first post of this series, we introduced the OWASP Top 10 and briefly touched on <strong>**Broken Access Control**</strong> using a simple banking example. It’s time to slow down and really dig into it — because this category holds the top spot on the OWASP Top 10 for a reason: it’s the most commonly found vulnerability across real-world applications, and it can lead to some of the most damaging breaches.</p><p>By the end of this post, you’ll understand what access control actually means, the different ways it breaks, how pentesters find these flaws, and how developers can prevent them.</p><p><strong>What Is Access Control?</strong></p><p>Access control is the set of rules that determine <strong>who is allowed to do what</strong> in an application.</p><p>Every application needs to answer two questions for every action a user tries to take:</p><p>1. <strong>Authentication - </strong><em>Who are you? </em>(Are you really who you claim to be?)</p><p>2. <strong>Authorization - </strong><em>What are you allowed to do?</em> (Even if we know who you are, should you be allowed to do this specific thing?)</p><p>Broken Access Control happens when an application correctly identifies “<em>who”</em> a user is, but fails to properly restrict “<em>what”</em> that user can see or do. In other words, the front door is locked, but once you’re inside, every room is unlocked - including rooms that were never meant for you.</p><p><strong>Common Types of Broken Access Control</strong></p><p><strong>1. Insecure Direct Object Reference (IDOR)</strong></p><p>This happens when an application exposes an internal reference - like a database ID - directly in a URL or request, without checking whether the current user actually owns that resource.</p><p><strong>Example:</strong></p><p>An online invoice portal shows a company’s invoice like this: <a href="https://exampleaccounting.com/invoices/8841"><em>https://exampleaccounting.com/invoices/8841</em></a></p><p>If a logged-in user simply changes the number in the URL: <a href="https://exampleaccounting.com/invoices/8842">https://exampleaccounting.com/invoices/8842</a></p><p>and the server returns another company’s invoice without checking ownership, that’s an IDOR vulnerability. The application authenticated the user correctly - it just never asked, “does this invoice actually belong to <strong><em>this</em></strong> user?”</p><p><strong>2. Privilege Escalation</strong></p><p>This occurs when a regular user is able to gain access to functionality meant only for higher-privileged users, like administrators.</p><p><strong>Example:</strong></p><p>A hidden admin panel exists at: <a href="https://exampleapp.com/admin/dashboard"><em>https://exampleapp.com/admin/dashboard</em></a></p><p>If the application only hides the link in the navigation menu - but doesn’t actually verify the user’s role on the server when the page loads - any logged-in user who guesses or finds that URL could access admin functionality. This is sometimes called <strong>”security through obscurity”</strong>, and it’s not real security at all.</p><p><strong>3. Missing Function-Level Access Control</strong></p><p>Similar to privilege escalation, but specifically about API endpoints or backend functions that don’t check permissions properly.</p><p><strong>Example:</strong></p><p>An HR application has an API endpoint used by managers to delete employee records: <em>DELETE /api/employees/305</em></p><p>If the backend only checks <em>”is this user logged in?”</em> rather than <em>”is this user a manager with permission to delete this record?” -</em> then any authenticated employee, not just managers, could potentially delete a coworker’s record just by sending the same request directly to the API.</p><p><strong>4. CORS Misconfiguration</strong></p><p>Cross-Origin Resource Sharing (CORS) misconfigurations can allow untrusted websites to make authenticated requests to your application on a victim’s behalf, potentially reading data that should be private.</p><p><strong>Example:</strong></p><p>If a banking API is configured to trust requests from <strong><em>any</em> </strong>origin (`Access-Control-Allow-Origin: *`) while also allowing credentials to be sent, a malicious website the victim visits could quietly make requests to the bank’s API using the victim’s active session - without the victim ever knowing.</p><p><strong>How Pentesters Test for Broken Access Control</strong></p><p>When testing an application, pentesters typically try a combination of the following approaches:</p><p>- <strong>Parameter tampering:</strong> Changing IDs, usernames, or reference numbers in requests to see if data belonging to other users is returned.</p><p>- <strong>Forced browsing:</strong> Trying to access admin or restricted URLs directly, even if there’s no visible link to them.</p><p>- <strong>Role testing:</strong> Logging in as a low-privileged user and attempting to perform actions that should require higher privileges.</p><p>- <strong>HTTP method tampering:</strong> Trying different request methods (`GET`, `POST`, `PUT`, `DELETE`) on the same endpoint to see if access checks are inconsistent.</p><p>- <strong>Reviewing client-side vs. server-side checks:</strong> Confirming that permission checks aren’t just hidden in the browser’s interface (like disabling a button) but are actually enforced on the server.</p><p>The key principle testers rely on: <strong>never trust the client. </strong>If a restriction only exists in the app’s visual interface and isn’t enforced by the backend, it’s not a real restriction.</p><p><strong>How Developers Can Prevent Broken Access Control</strong></p><p>The good news is that this vulnerability class, while common, is also very preventable with consistent practices:</p><p>- <strong>Deny by default:</strong> Every resource and action should be denied unless explicitly allowed for that specific user and role.</p><p>- <strong>Enforce checks server-side, every time:</strong> Never rely solely on hiding buttons or links in the UI — always verify permissions on the backend for every request.</p><p>- <strong>Check ownership, not just identity:</strong> Confirm a user is not just <em>*logged in*</em>, but that they actually <em>*own*</em> or have rights to the specific resource they’re requesting.</p><p>- <strong>Use centralized access control logic:</strong> Scattering permission checks across the codebase makes it easy to miss one. A single, well-tested access control mechanism reduces mistakes.</p><p>- <strong>Log access control failures:</strong> Repeated denied attempts (e.g., someone systematically changing IDs in a URL) can be an early warning sign of an attack in progress — this ties directly into logging and monitoring, which we’ll cover later in this series.</p><p>- <strong>Test with multiple roles:</strong> Regularly test your application using accounts with different permission levels to confirm boundaries are actually enforced.</p><p><strong>Wrapping Up</strong></p><p>Broken Access Control tops the OWASP Top 10 because it’s often simple to exploit, yet its impact can be severe — from viewing someone else’s private data to taking full control of an application’s admin functions. The core lesson is straightforward: <strong>**authentication tells you who someone is; authorization must independently confirm what they’re allowed to do — and that check must always happen on the server.**</strong></p><p>In the next post, we’ll move on to <strong>**Cryptographic Failures**</strong> — what happens when sensitive data isn’t properly protected, and why “encrypted” doesn’t always mean “secure.”</p><p>📖 New to the series? Start with <a href="https://medium.com/@nadeeshamayuri15/penetration-testing-a-practical-tour-through-the-owasp-top-10-082c19f5741d?sharedUserId=nadeeshamayuri15"><strong>Part 1: Penetration Testing — A Practical Tour Through the OWASP Top 10</strong></a></p><p><strong><em>Disclaimer: </em></strong><em>This series is intended for educational purposes to support ethical, authorized security testing and secure software development. Never test systems you don’t own or lack explicit written permission to assess.*</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2961ab5249ad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Penetration Testing: A Practical Tour Through the OWASP Top 10]]></title>
            <link>https://medium.com/@nadeeshamayuri15/penetration-testing-a-practical-tour-through-the-owasp-top-10-082c19f5741d?source=rss-a83292d45d2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/082c19f5741d</guid>
            <dc:creator><![CDATA[Mayuri Nadeesha]]></dc:creator>
            <pubDate>Tue, 18 Aug 2026 16:24:22 GMT</pubDate>
            <atom:updated>2026-08-18T16:24:22.286Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*clo0MfQK3k1t-d8kmoMR4w.png" /></figure><p><strong>Introduction</strong></p><p>Every year, thousands of websites and applications get hacked - not because attackers are geniuses, but because the same handful of mistakes keep showing up in web applications. The <strong>OWASP Top 10</strong> is a globally recognized list, maintained by the Open Web Application Security Project, that ranks the most critical security risks facing web applications today.</p><p>This is the first post in a series where we’ll walk through each item on the OWASP Top 10, one at a time, in plain language. Before we dive into specific vulnerabilities in later posts, this article lays the groundwork: what penetration testing actually is, why the OWASP Top 10 matters, and how a typical pentest is structured.</p><p><strong>What Is Penetration Testing?</strong></p><p>Penetration testing (or “pentesting”) is the practice of simulating a cyberattack against a system - with permission - to find security weaknesses before real attackers do.</p><p>Think of it like hiring someone to try to break into your house, using the same tools and techniques a burglar would, so you can fix the weak locks and unlocked windows <em>before</em> an actual burglar finds them.</p><p>A pentester might:</p><p>- Try to log in without valid credentials</p><p>- Attempt to access data they shouldn’t be able to see</p><p>- Look for outdated software with known flaws</p><p>- Try to trick an application into running commands it shouldn’t</p><p>The key difference between a pentester and an attacker is <strong>authorization</strong>. Pentesters operate under a signed agreement (a “scope of work”) that defines exactly what they’re allowed to test, and they report what they find instead of exploiting it for personal gain.</p><p><strong>Why the OWASP Top 10 Matters</strong></p><p>OWASP (Open Web Application Security Project) is a nonprofit that studies real-world breaches and vulnerability data to identify the most common and impactful web application risks. Every few years, they publish an updated “Top 10” list.</p><p>It matters because:</p><p>1. <strong>It’s data-driven:</strong> The list is based on analysis of vulnerabilities found across hundreds of organizations and thousands of applications - not guesswork.</p><p>2. <strong>It’s a shared language:</strong> Developers, security teams, and auditors around the world use it as a common reference point.</p><p>3. <strong>It’s a practical starting point:</strong> You don’t need to know every possible vulnerability to significantly improve your security posture - fixing these ten categories closes the door on the majority of real-world attacks.</p><p><strong>The OWASP Top 10 (2021 edition) at a glance</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uBDLzyfgq15bjRLDtltK8A.png" /></figure><p>We’ll cover each of these in depth in future posts. For now, let’s look at one simple example to make this concrete.</p><p><strong>A Quick Example: Broken Access Control</strong></p><p>Imagine an online banking app where your account statements are viewed at a URL like this:</p><p><a href="https://examplebank.com/statements?accountId=1024">https://examplebank.com/statements?accountId=1024</a></p><p>If the application doesn’t properly check <strong><em>who</em></strong> is asking for account `1024`, a curious (or malicious) user could simply change the number in the URL:</p><p><a href="https://examplebank.com/statements?accountId=1025">https://examplebank.com/statements?accountId=1025</a></p><p>and potentially view someone else’s statement. This is a classic case of <strong>Broken Access Control (A01) - </strong>the application trusts the request without verifying the requester actually owns that account. It’s one of the most common - and most damaging - issues found in real-world pentests, which is why it tops the current list.</p><p><strong>How a Typical Penetration Test Works</strong></p><p>Most pentests follow a similar lifecycle, regardless of which vulnerabilities are being targeted:</p><p>1. <strong>Scoping &amp; Planning: </strong>Define what’s being tested, what’s off-limits, and get written authorization.</p><p>2. <strong>Reconnaissance:</strong> Gather information about the target: technologies used, exposed endpoints, subdomains, etc.</p><p>3. <strong>Vulnerability Identification:</strong> Use manual testing and automated tools to look for weaknesses (this is where the OWASP Top 10 becomes a practical checklist).</p><p>4. <strong>Exploitation:</strong> Carefully attempt to confirm that a vulnerability is real and understand its impact, without causing damage.</p><p>5. <strong>Reporting:</strong> Document findings clearly, including risk severity and how to fix each issue.</p><p>6. <strong>Remediation &amp; Retesting:</strong> The development team fixes the issues, and the tester verifies the fixes actually work.</p><p><strong>What’s Next in This Series</strong></p><p>In the next post, we’ll start at the top of the list with <strong>Broken Access Control - </strong>the single most common vulnerability category found in real-world applications today. We’ll look at different types of access control failures, how testers identify them, and how developers can prevent them.</p><p>Future posts in this series will cover each remaining OWASP Top 10 category, always with real-world style examples and a focus on both the attacker’s and the defender’s perspective.</p><p><strong><em>Disclaimer: </em></strong><em>This series is intended for educational purposes to support ethical, authorized security testing and secure software development. Never test systems you don’t own or lack explicit written permission to assess.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=082c19f5741d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DashDine: Building the Vendor Profile Page]]></title>
            <link>https://medium.com/@nadeeshamayuri15/dashdine-building-the-vendor-profile-page-e625249dd523?source=rss-a83292d45d2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e625249dd523</guid>
            <dc:creator><![CDATA[Mayuri Nadeesha]]></dc:creator>
            <pubDate>Sun, 18 May 2025 06:08:00 GMT</pubDate>
            <atom:updated>2025-05-18T06:08:00.687Z</atom:updated>
            <content:encoded><![CDATA[<p>The vendor profile page is one of the most interactive and visually rich parts of <strong>DashDine</strong>. It’s the place where users dive into a vendor’s details — location, menu, specialties, and customer reviews. In this article, I’ll walk through the logic, design, and functionality of the VendorProfilePage component that powers it.</p><p><strong>Overview</strong></p><p>Each vendor has their own dedicated page displaying:</p><ul><li>Vendor name and contact details</li><li>Operating hours and specialties</li><li>A Leaflet map showing their exact location</li><li>A dynamically rendered menu</li><li>Reviews left by users</li><li>A review submission form (with draft-saving functionality)</li><li>A favorite toggle button</li></ul><p>Let’s explore how all of this comes together.</p><p><strong>Using React Router to Load Vendor Data</strong></p><p>The page is accessed via a dynamic route like /vendor-profile/:vendorId. Using React Router’s useParams, I extract the vendor ID from the URL:</p><p>js</p><p>CopyEdit</p><p>const { vendorId } = useParams();</p><p>const vendor = vendors.find(v =&gt; v.id === parseInt(vendorId));</p><p>The vendors array is a static list for now, but it acts as our temporary database of local food spots.</p><p><strong>Favorites Feature</strong></p><p>Users can mark vendors as favorites with a simple toggle. While this currently toggles local state only, it can be expanded to persist in user profiles via API.</p><p><strong>Mapping the Vendor Location with Leaflet</strong></p><p>To make the page more immersive, we integrated <strong>Leaflet</strong> for mapping. It gives users a quick, visual idea of where the vendor is located. It was also necessary to fix the default marker icon issue that often arises with Leaflet + Webpack setups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*gnM2ab0Dc_tiOhsi18bddQ.png" /><figcaption>Vendor profile details</figcaption></figure><p><strong>Vendor Menu Rendering</strong></p><p>Each vendor has a list of menu items with name, price, origin, and calorie info. These are rendered dynamically with a clean, structured layout. We kept the design modular so it’s easy to switch to a grid layout or cards in the future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*XBJlSLS46vDfh20PGurNeg.png" /><figcaption>Vendor Menu</figcaption></figure><p><strong>Submitting and Auto-Saving Reviews</strong></p><p>Logged-in users can leave reviews with a rating and comment. What’s cool is the <strong>auto-draft feature</strong>: if an unauthenticated user attempts to post, their draft is saved in localStorage. Upon logging in, the draft auto-submits. Once the user logs in, this is detected via useEffect, and the draft is submitted behind the scenes. It’s a small touch but greatly improves user experience.</p><p><strong>Displaying Community Reviews</strong></p><p>Reviews fetched from the backend are filtered and displayed dynamically. Each review includes the username, rating (using FaStar icons), and the comment. I also plan to add timestamps and upvotes later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/966/1*dYZ040cGAc7jTAwfgfgzsA.png" /><figcaption>Customer Reviews</figcaption></figure><p><strong>Tech Stack Used:</strong></p><ul><li>React</li><li>React Router</li><li>Leaflet for Maps</li><li>CSS</li><li>Font Awesome for Icons</li><li>Express + MongoDB backend (for review APIs)</li></ul><p><strong>Conclusion</strong></p><p>The Vendor Profile Page brings together a lot of different parts of the DashDine experience — from data fetching to interactive UI, mapping, and authentication-aware behavior. Building it gave me a deeper understanding of how to design meaningful user flows in React, especially when combining static data, APIs, and maps.</p><p>Next up, we’ll meet with another intersting feature of DashDine. Stay tuned!</p><p>Let me know what you think, or if you’d like to see a full code walkthrough in the next post!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e625249dd523" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DashDine: Vendor Dashboard — Empowering Vendors to Manage Their Presence on DashDine]]></title>
            <link>https://medium.com/@nadeeshamayuri15/dashdine-vendor-dashboard-empowering-vendors-to-manage-their-presence-on-dashdine-16805fdfe884?source=rss-a83292d45d2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/16805fdfe884</guid>
            <dc:creator><![CDATA[Mayuri Nadeesha]]></dc:creator>
            <pubDate>Sun, 18 May 2025 06:01:44 GMT</pubDate>
            <atom:updated>2025-05-18T06:01:44.777Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>DashDine: Vendor Dashboard — Empowering Vendors to Manage Their Presence on DashDine</strong></h3><p>After building the <strong>user dashboard</strong> to help food lovers discover and review vendors, our next milestone was to create a space tailored for <strong>vendors</strong> themselves — a comprehensive dashboard where they can <strong>manage their menus, business hours, reviews, and more</strong>. Meet the <strong>Vendor Dashboard</strong>: the digital control room for vendors on DashDine.</p><ul><li><strong>Purpose of the Vendor Dashboard</strong></li></ul><p>The Vendor Dashboard allows food vendors to:</p><ul><li>Add and manage menu items</li><li>Set and adjust business hours</li><li>View basic analytics like customer visits and average ratings</li><li>Read and respond to customer reviews</li><li>Update their profile and settings</li></ul><p>We wanted to give vendors <strong>full control over their profile and offerings</strong>, all without needing technical knowledge.</p><h3>Navigation and Layout</h3><p>The vendor dashboard is split into two main sections:</p><p>· A <strong>left sidebar</strong> for navigation.</p><p>· A <strong>main content area</strong> where each section’s details are rendered.</p><p>The sidebar includes buttons to navigate to:</p><p>· <strong>Menu Management</strong>: Add, edit, or remove items from your vendor menu to keep offerings up to date.</p><p>· <strong>Business Hours:</strong> Vendors can manage their business opening hours for all 7 days of the week.</p><p>· <strong>Customer Reviews</strong>: View all reviews submitted by users about your vendor. Respond to feedback to build trust and improve service.</p><p>· <strong>Vendor Profile</strong>: Manage and update your business details, including name, description, contact info, and address.</p><p>· <strong>Logout</strong>: Securely end user session and return to the login screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*vLqXS7orJx-9hh80eXJjTg.png" /><figcaption>Vendor dashboard — Navigation Bar</figcaption></figure><h3><strong>Technologies Used</strong></h3><ul><li><strong>React</strong> for the frontend</li><li><strong>React Router</strong> for navigation</li><li><strong>React Icons</strong> for intuitive UI</li><li><strong>LocalStorage</strong> to simulate persistent state (for now)</li><li><strong>CSS Modules</strong> for scoped styling</li></ul><h3><strong>Menu Management</strong></h3><p>The <strong>Menu Management</strong> section lets vendors:</p><ul><li>View existing menu items</li><li>Add new ones with fields like name, price, description, and category</li><li>Delete items with a single click</li><li>Search through their menu instantly</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*hZticeyCdXsDqHXzjpWBfw.png" /><figcaption>Vendor Dashboard — Menu management</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*iXke1R4dETypK_Xl_6Qj-g.png" /><figcaption>Vendor Dashboard — Menu management</figcaption></figure><h3><strong>Business Hours Management</strong></h3><p>In the <strong>Business Hours</strong> tab, vendors can:</p><ul><li>Set custom open/close times for each day</li><li>Add multiple time slots (e.g., lunch &amp; dinner service)</li><li>Search for days to quickly adjust availability</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*LhdsdqVV_cG2YusDpN9nCQ.png" /><figcaption>Vendor Dashboard — Business Hours</figcaption></figure><h3><strong>Analytics View</strong></h3><p>We’ve added a simple <strong>analytics view</strong> to show:</p><ul><li>Number of visits per day of the week</li><li>Average customer rating</li><li>Distribution of star ratings</li></ul><p>Though this data is hardcoded now, it lays the foundation for future integration with real backend analytics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*0tjbqBLJySaT7KC7H7V7tw.png" /><figcaption>Vendor Dashboard — Analytics</figcaption></figure><h3><strong>Customer Reviews</strong></h3><p>In this section, vendors can see what their customers are saying — good or bad.</p><p>We included a simple card layout to display each review, along with customer name, rating, and date. This helps vendors understand what’s working and what might need improvement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*O-7x05-WhdRXc_zOnkbpXw.png" /><figcaption>Vendor Dashboard — Customer Reviews</figcaption></figure><h3><strong>Profile Settings</strong></h3><p>Vendors can also edit:</p><ul><li>Their business name</li><li>Email</li><li>Phone number</li><li>Description</li><li>Upload a profile picture</li></ul><p>The form is toggleable between <strong>view</strong> and <strong>edit</strong> mode using a simple isEditing state. All changes are saved to localStorage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*UyaZ-TCd2dvwkjdWbhGnjA.png" /><figcaption>Vendor Dashboard — Settings</figcaption></figure><h3><strong>Conclusion</strong></h3><p>The Vendor Dashboard is all about <strong>simplicity, control, and flexibility</strong>. While we currently use localStorage for simplicity, our architecture is ready for future backend integration with MongoDB and Express for real-time data and authentication.</p><p>Let’s meet with another feature of DashDine! Stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16805fdfe884" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DashDine: A Sneak Peek into Our Homepage — Discovering Street Food, One Click at a Time]]></title>
            <link>https://medium.com/@nadeeshamayuri15/dashdine-a-sneak-peek-into-our-homepage-discovering-street-food-one-click-at-a-time-48ec37969305?source=rss-a83292d45d2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/48ec37969305</guid>
            <dc:creator><![CDATA[Mayuri Nadeesha]]></dc:creator>
            <pubDate>Sun, 18 May 2025 05:52:07 GMT</pubDate>
            <atom:updated>2025-05-18T05:54:01.730Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>DashDine: A Sneak Peek into Our Homepage — Discovering Street Food, One Click at a Time</strong></h3><p>As we continue our journey with <em>DashDine</em>, we’re excited to share the progress of our website — starting with one of the most crucial parts: the <strong>Home Page</strong>. The homepage is not just the first thing users see — it’s the doorway to the vibrant world of Sri Lankan street food.</p><p><strong>What’s New on the Homepage?</strong></p><p>We designed the homepage with two key users in mind: <strong>street food enthusiasts</strong> and <strong>vendors</strong>. With a clean, engaging layout and interactive features, we aim to make their experience as smooth and intuitive as possible.</p><p><strong>Key Features of the Homepage</strong></p><ul><li><strong>Hero Section — Instant Connection</strong></li></ul><p>Right at the top, users are greeted with our DashDine logo and a navigation bar, allowing quick access to <strong>login</strong> or <strong>sign up</strong>. The main message is clear: <em>Discover the Best Street Food Near You</em>. Whether you’re a local or a tourist, this sets the tone for what to expect.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*MEoR4C3pNT8AqvS6EHTmSw.png" /><figcaption>Home Page — Hero Section</figcaption></figure><ul><li><strong>Live Search &amp; Vendor Profiles</strong></li></ul><p>The search bar allows users to quickly look up street food vendors. Start typing and the <strong>dropdown updates live</strong>, filtering vendors based on the search query. It’s a simple but powerful way to explore what’s available nearby.</p><p>We also added a <strong>Vendor Profiles button</strong> that opens a dropdown list of vendors, making discovery easier and visually interactive. Users can click any vendor to view their profile page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*tl-yrecVamv3eTNBefF8rQ.png" /><figcaption>Home Page — <strong>Live Search &amp; Vendor Profiles</strong></figcaption></figure><ul><li><strong>Interactive Vendor Navigation</strong></li></ul><p>Each vendor link leads to a detailed profile — location, hours, special dishes, and more. This brings more visibility to vendors and makes selection easier for customers.</p><ul><li><strong>Vibrant Hero Images</strong></li></ul><p>Our homepage includes a rotating set of vibrant street food images — delicious dishes, happy customers, friendly vendors — to give visitors a taste of Sri Lankan Street food culture right from the screen.</p><p><strong>Supporting Features</strong></p><ul><li><strong>Why Choose DashDine?</strong></li></ul><p>We highlight three reasons to love DashDine:</p><ul><li><strong>Find Vendors Easily</strong> (interactive map)</li><li><strong>Read Reviews</strong> (transparent feedback)</li><li><strong>Save Favorites</strong> (personalized experience)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*TLwXOPMxDFy5oFA9TdxFYw.png" /><figcaption>Discover, Decide, Dine — The DashDine Advantage</figcaption></figure><ul><li><strong>What Our Users Say</strong></li></ul><p>We’ve added a small <strong>testimonial section</strong> where early users share their experiences. This builds trust and motivates vendors to join our platform.</p><ul><li><strong>Footer &amp; Navigation</strong></li></ul><p>Our footer helps users find important links quickly and ensures easy access to the rest of the site.</p><p><strong>The Tech Behind the Page</strong></p><p>Built with <strong>React</strong>, our homepage uses <strong>React Router</strong> for navigation and <strong>React Icons</strong> for engaging visuals. A combination of state management (useState, useEffect) and dynamic filtering ensures that the dropdown and search features feel seamless and responsive.</p><p>We’ve also implemented a smart dropdown system: it auto-closes when users click outside and opens instantly while typing. Little touches like these enhance usability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*DzcIKKsQjkpJgl0fu0Umgw.png" /><figcaption>Dashdine Footer Section</figcaption></figure><p><strong>What’s Next?</strong></p><p>We’re now focusing on developing the <strong>Vendor Profile Pages</strong>, integrating real data from our backend, and connecting the <strong>interactive map</strong> using Leaflet. These features will complete the loop between users and vendors.</p><p>Stay tuned for more updates — and thank you for supporting <em>DashDine</em>, where Sri Lankan street food finds its digital home!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48ec37969305" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software Architecture: Mastering the Layered Architecture Pattern]]></title>
            <link>https://medium.com/@nadeeshamayuri15/software-architecture-mastering-the-layered-architecture-pattern-eff5b2864826?source=rss-a83292d45d2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/eff5b2864826</guid>
            <dc:creator><![CDATA[Mayuri Nadeesha]]></dc:creator>
            <pubDate>Tue, 04 Feb 2025 19:56:31 GMT</pubDate>
            <atom:updated>2025-02-04T19:56:31.858Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W4tJ3i893fCcmT6B1OsUYw.jpeg" /><figcaption>Figure 1: Layered Architecture</figcaption></figure><p>Welcome back to the Software Architecture Patterns blog series. This series talks about the <strong><em>Layered Architecture pattern</em></strong>. Hopefully, by this end, you’ll understand this Layered Architecture pattern and how it can benefit you. So, let’s get to it!</p><p>In this blog, we will be covering the following topics as the main chapters of the series.</p><ol><li>What is a software architecture and software architecture patterns?</li><li>What is Layered Architecture?</li><li>Characteristics and components of a Layered Architecture?</li><li>Implementation of Layered Architecture</li><li>Advantages and Disadvantages of Layered Architecture Pattern</li><li>Examples of Layered Architecture patterns</li><li>Use cases</li><li>When to use Layered Architecture</li><li>Choosing the right architecture</li><li>Conclusion</li></ol><p><strong>What is software architecture?</strong></p><p>The high-level structure of a software system, known as its software architecture, consists of the rules, patterns, and principles that determine its organization, interactions, and component relationships. It acts as a blueprint to make sure the system is scalable, maintainable, and meets its needs.</p><p><strong>Types of Software Architecture Patterns:</strong></p><ul><li>Layered Architecture (N-Tier Architecture)</li><li>Microservice Architecture</li><li>Service-Oriented Architecture (SOA)</li><li>Event-Driven Architecture (EDA)</li><li>Hexagonal Architecture (Ports and Adapters)</li><li>Component-Based Architecture</li><li>Blackboard Architecture</li><li>CQRS (Command Query Responsibility Segregation)</li><li>Serverless Architecture</li><li>Circuit Breaker Pattern</li><li>Model-view-controller pattern</li></ul><p><strong>What is Layered Architecture?</strong></p><p>Layered architecture, also known as N-Tier architecture, is a software design pattern that divides an application into several discrete layers, each responsible for specific tasks or concerns. By using this approach, many application components can be divided into manageable, modular, and reusable parts. A distinct division of responsibilities is promoted by the fact that although each layer interacts with the one immediately above or below it, layers usually do not directly interact with one another.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/201/1*TfG_BJNraUWfakuZVV3IVg.png" /><figcaption>Figure 2: Architecture layers overview</figcaption></figure><p><strong>Characteristics of the Layered Architecture</strong></p><ul><li>This framework features layers connected directly below them, with layer 1 connected to layer 2, layer 2 to layer 3, and layer 1 to layer 3 through layer 2.</li><li>It also has layers of isolation, allowing modifications to be isolated to the specific layer impacted.</li><li>It has a separation of concerns feature, allowing modules to perform a single function.</li></ul><p><strong>Components of the Layered Architecture</strong></p><p>Components within the layered architecture pattern are organized into horizontal layers, and each layer performs a specific role within the application. The layered architecture pattern does not specify the number and types of layers that must exist in the pattern. Most layered architectures consist of four standard layers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*4v0LlbCjNKG45OVpa6NdIw.png" /><figcaption>Figure 3: Layered Architecture pattern</figcaption></figure><ol><li><strong>Presentation Layer: </strong>Where users interact with applications. It manages user input and shows data. It manages user input and displays information.</li><li><strong>Business Layer:</strong> Responsible for executing business logic as per the request.</li><li><strong>Persistence Layer: </strong>Used for handling functions like object-relational mapping.</li><li><strong>Database Layer: </strong>Data is retrieved and stored. It interacts with the database, ensuring the separation of data concerns.</li></ol><p><strong>Implementation of Layered Architecture</strong></p><ul><li><strong>Define clear roles for each layer:</strong> Each layer shall perform clearly defined tasks and communicate only with adjacent layers.</li><li><strong>Use interfaces for layer communication: </strong>Well-defined contracts between layers will enable independent development and testing of layers.</li><li><strong>Implement dependency injection:</strong> Use dependency injection to separate concerns that simplify testability and maintenance.</li></ul><p><strong>Advantages and Disadvantages of Layered Architecture</strong></p><p><strong>Advantages:</strong></p><ul><li>The framework is simple and easy to understand and use.</li><li>There is less dependency because each layer’s function is independent of the others.</li><li>Testing is made easier because the components are isolated and can be tested separately.</li><li>Cost overheads are relatively low.</li></ul><p><strong>Disadvantages:</strong></p><ul><li>Scalability is challenging because the framework’s structure does not permit growth.</li><li>They can be challenging to maintain. A change in one layer can impact the entire system because it functions as a single unit.</li><li>Layers are interdependent since a layer depends on the layer above it to receive data.</li><li>Parallel processing is not possible.</li></ul><p><strong>Example of Layered Architecture</strong></p><ul><li><strong>Online Shopping System:</strong> A user intends to see the details of his or her order via an e-commerce application.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*YCMzusBh966sDFPmccEpzA.png" /><figcaption>Figure 4: Layered Architecture Example</figcaption></figure><p><strong>Use Cases</strong></p><ul><li>websites such as Amazon</li><li>email services such as Outlook and Gmail</li><li>Dropbox and Google Drive are examples of file-sharing services</li><li>streaming services for media, such as Netflix</li><li>platforms for education, such as Moodle</li></ul><p><strong>When to use Layered Architecture</strong></p><ul><li>Ideal since in small applications, it is simple.</li><li>Suitable for projects that require quick implementation.</li><li>When developers have low experience in the domain of software architectures.</li><li>A safe choice when unsure which architecture to use.</li><li>Practical Applications Used in web applications, the OSI model, and J2EE programming.</li></ul><p><strong>Choosing the Right Architecture</strong></p><p>The following important factors will assist you in selecting the best architectural pattern:</p><ul><li><strong>Scalability: </strong>The ability of the system to grow as the load increases.</li><li><strong>Performance: </strong>Are there any particular standards for performance, such as minimal latency?</li><li><strong>Availability:</strong> Does the system have to be able to withstand errors?</li><li><strong>Security: </strong>What potential risks exist and what security standards does the system have?</li><li><strong>Budget: </strong>How much money is available for the system’s development and upkeep?</li><li><strong>Tools and technologies Stack:</strong> Which tools and technologies will be needed?</li></ul><p><strong>Conclusion</strong></p><p>The <strong><em>Layered Architecture pattern</em></strong> is the simplest, modular, and most used software design framework that organizes applications into distinct layers, each responsible for certain tasks. It is very suitable for small to medium-sized applications or projects that require speed in development when developers do not have broad experience with software architecture. It gives way to easy testing and maintenance due to its simplicity, born from the clean separation of concerns, but for complex systems, scalability and performance may be affected. Applying prudent consideration of the project requirements, scalability, performance, security, and budget in mind, layered architecture can indeed help create a maintainable, robust system ranging from e-commerce to email applications to media streaming.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eff5b2864826" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DashDine: Revolutionizing Street Food Discovery in Sri Lanka]]></title>
            <link>https://medium.com/@nadeeshamayuri15/dashdine-revolutionizing-street-food-discovery-in-sri-lanka-003c02be863d?source=rss-a83292d45d2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/003c02be863d</guid>
            <dc:creator><![CDATA[Mayuri Nadeesha]]></dc:creator>
            <pubDate>Mon, 27 Jan 2025 05:49:31 GMT</pubDate>
            <atom:updated>2025-01-27T05:49:31.446Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZTBpawKYy3i4ADQGOz-0uw.jpeg" /><figcaption>Figure 01: Sri Lankan Street Food</figcaption></figure><p>One of the greatest ways to learn about a nation’s history and culture is through street foods. These foods may be found practically anywhere in the world and represent local ingredients, culinary customs, and everyday rhythms.</p><p><strong>What is Street Food?</strong></p><p>Ready-to-eat food or drinks offered by vendors in public settings, usually in crowded places like marketplaces, streets, or festivals, are referred to as street food. It is typically inexpensive, portable, and frequently prepared in front of the customer, resulting in a quick and engaging culinary experience.</p><p>In Sri Lanka, street food culture has evolved from a mix of cultural influences from the island’s long history of trade, colonization, and migration. Indian, Malay, Arab, Portuguese, and Dutch settlers’ spices, recipes, and cooking techniques have all contributed to the creation of a flavorful and varied street food scene. A thorough exploration of Sri Lanka’s many culinary traditions can be had through its street food. Every meal, from the famous Roti to the crispy Dal Vada, reflects the history, culture, and love of the strong, flavorful foods of the island. With its strong flavors and alluring scents, Sri Lanka’s Street food culture is a lively representation of the island’s rich history and attracts both locals and tourists.</p><p><strong>The Origins of Street Food</strong></p><p>In ancient civilizations like Greece and Rome, street food has been a part of daily life for ages. In these busy marketplaces, sellers offered bread, fish, and soups. In Asia, street food has become a mainstay for workers and tourists in need of quick, affordable meals, especially in nations like China and India. The practice of selling food on the street evolved, according to local flavors and ingredients all around the world.</p><p>In Sri Lanka, street food culture has evolved from a mix of cultural influences from the island’s long history of trade, colonization, and migration. Indian, Malay, Arab, Portuguese, and Dutch settlers’ spices, recipes, and cooking techniques have all contributed to the creation of a flavorful and varied street food scene.</p><p><strong>Why Is Sri Lankan Street Food Different?</strong></p><p>Sri Lankan street food combines traditional cooking methods, fresh ingredients, and strong spices. Vendors cook using basic ingredients like rice and coconut in open-air kitchens or little carts. Spices like cumin, coriander, turmeric, cinnamon, and chili are used to produce multi-layered and intricate flavors. Both locals and visitors can quickly eat from the reasonably priced street cuisine. It relates to the island’s culture by enabling street exploration and food sharing. A reflection of the island’s rich past, the street food culture draws both locals and tourists.</p><p><strong>Overcoming Obstacles in the Street Food Industry in Sri Lanka</strong></p><p>Both vendors and customers of the street food industry in Sri Lanka face several challenges that prevent its growth and accessibility.</p><ul><li>When looking for street food in the city, customers often encounter challenges, and a lack of comprehensive information about the menus, specialties, or services the vendors may offer.</li><li>There is a lack of reliable platforms that would allow users to access real consumer feedback regarding the quality of food and service provided by various vendors. All of these factors make it harder for a foodie to make decisions.</li><li>Due to a lack of exposure and limited resources, many street food vendors are unable to promote their goods. They lack a strong platform to reach a growing number of consumers with their unique offerings.</li></ul><p>“<strong><em>DashDine</em></strong>” solves these problems by providing an interactive and user-friendly platform that gives customers the chance to experience the best of Sri Lanka’s Street Food culture while also giving merchants the chance to expand.</p><p><strong>DishDine: Target audience</strong></p><p>The website is primarily accessible to two categories of users.</p><ol><li><strong>Street Food vendors:</strong> Vendors who aim to reach a wider audience and improve their business visibility</li><li><strong>Food Enthusiasts (Local and foreign tourists): </strong>Individuals who are interested in exploring and enjoying local street foods</li></ol><p><strong>DashDine: Core Features</strong></p><ol><li><strong>Street Food vendor profiles:</strong> Street Food vendor profiles include detailed information about each vendor such as name, location, menu, opening hours, specialties, etc.</li><li><strong>Interactive map: </strong>Using the map, customers can search and find the current location of street food stalls easily and quickly.</li><li><strong>User reviews and Ratings: </strong>Customers can rate each vendor’s food and service quality using the review and rating feature, and they can also share their experiences. It will influence vendors to uphold excellent service standards.</li><li><strong>Dish origin information: </strong>Dish origin information includes detailed information about the ingredients that are used in each dish, their nutritional benefits, and their cultural significance.</li></ol><p><strong>DishDine: Architecture Pattern</strong></p><p>To implement this website, we use the <strong><em>Layered Architecture</em></strong> pattern.</p><p>One popular architectural pattern in software development is layered architecture. It is also referred to as n-tier architecture. It arranges software into several horizontal levels, each with a distinct function and responsibility. And also, ensures easier maintainability, scalability, and complexity management.</p><p>For this website, we use four distinct layers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/201/1*MO8nvlCSlrUMPDzsD1ERGQ.png" /><figcaption>Figure 02: Layered Architecture</figcaption></figure><ol><li><strong>Presentation layer: </strong>To handle user interface and user interactions</li><li><strong>Business Logic layer:</strong> To implement core functionalities and business rules</li><li><strong>Data Access layer:</strong> To manage database interactions ○ Technologies:</li><li><strong>Database layer:</strong> To store all application data</li></ol><p><strong>Conclusion</strong></p><p>Often, urban food lovers face various challenges in finding reliable information about Street Food vendors. Also, Street Food vendors lack a dedicated platform to promote their offerings and connect with potential customers. “<strong><em>DashDine</em></strong>” aims to bridge this gap by creating a platform that provides detailed information about street food vendors as well as enhances the experience of finding street food. The core features of this website are vendor profiles, interactive map, user reviews and ratings, and dish origin information. The website uses the layered architecture pattern and organizes the code into four distinct layers: the presentation layer, the business logic layer, the data access layer, and the database layer. It helps to easier maintain, scale, and complexity management.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=003c02be863d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>