<?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 Bolliharika on Medium]]></title>
        <description><![CDATA[Stories by Bolliharika on Medium]]></description>
        <link>https://medium.com/@bollineniharika2727?source=rss-6c57a7e91aed------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*6dfs3sk-WTqQz3XX</url>
            <title>Stories by Bolliharika on Medium</title>
            <link>https://medium.com/@bollineniharika2727?source=rss-6c57a7e91aed------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 15:00:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bollineniharika2727/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[How I Learned to Design Better APIs]]></title>
            <link>https://medium.com/@bollineniharika2727/how-i-learned-to-design-better-apis-90683d84659d?source=rss-6c57a7e91aed------2</link>
            <guid isPermaLink="false">https://medium.com/p/90683d84659d</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[api-development]]></category>
            <category><![CDATA[backend-development]]></category>
            <dc:creator><![CDATA[Bolliharika]]></dc:creator>
            <pubDate>Mon, 26 Jan 2026 18:14:27 GMT</pubDate>
            <atom:updated>2026-01-26T18:16:05.409Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What real backend problems taught me about API design?</strong></p><h4>What Is an API?</h4><p>An <strong>API (Application Programming Interface)</strong> is a contract that allows different software systems to communicate. Basically, a <strong>messenger between systems.</strong></p><p>In simple terms:<br><strong>An API defines how one system requests data or actions — and how another system responds.</strong></p><p>A frontend calls APIs. <br>Mobile apps call APIs.<br>Other backend services call APIs.<br>APIs are the <strong>bridges between systems</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wD6OvWwSTci9h0dH.png" /><figcaption>An API is the middleman that takes requests from an application and returns responses from a server.</figcaption></figure><h3>Why APIs Are Important</h3><p>APIs are not just technical utilities — they shape:</p><ul><li><strong>System scalability</strong></li><li><strong>Developer productivity</strong></li><li><strong>Application performance</strong></li><li><strong>Security boundaries</strong></li><li><strong>Long-term maintainability</strong></li></ul><p>A poorly designed API can slow teams down, break consumers, and create long-term technical debt.<br>A well-designed API can make a system feel <strong>fast, intuitive, and reliable</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/991/0*xGrI9ocjYGpJE0PU.jpg" /></figure><h3>Why Good API Design Matters</h3><p>It’s easy to build an API that works.</p><p>To tell, it’s harder, and more valuable to build an API that is:</p><ul><li>Easy to consume</li><li>Hard to misuse</li><li>Efficient at scale</li><li>Safe to evolve</li><li>Aligned with real business use cases</li></ul><p><strong>Good API design is not about exposing more data. It’s about exposing the right data, in the right shape, for the right consumer.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*zGC78ba7xHUotT664J3Tyw.png" /><figcaption>A bad API overwhelms users with unnecessary data, while a good API delivers only what’s needed — fast and clear.<br> <strong>Good API design feels like good service: simple, smooth, and efficient.</strong></figcaption></figure><p>For Instance, I would like to tell you my experience where I worked with a recent application, which involves backend APIs, exposed <strong>policy and risk data</strong>.</p><p>The APIs returned <strong>large, generic payloads</strong> — full policy records with:</p><ul><li>Deeply nested objects</li><li>Historical metadata</li><li>Audit attributes</li><li>Internal processing fields</li></ul><p>Technically, the APIs were correct.</p><p>But in practice:</p><ul><li>Consumers were <strong>over-fetching data</strong></li><li>Dashboards were <strong>slower than necessary</strong></li><li>Frontend teams had to <strong>filter and reshape responses</strong></li><li>Small schema changes <strong>risked breaking multiple clients</strong></li></ul><p>The problem wasn’t correctness.<br>It was <strong>usability and efficiency</strong>.</p><h3>The Key Design Shift</h3><p>Instead of designing APIs around <strong>database tables</strong>, I redesigned them around <strong>actual use cases</strong>.</p><p>The guiding question became:</p><blockquote><strong><em>What does this specific user or workflow actually need to function — and what can we safely remove?</em></strong></blockquote><h3>The Solution: How I Redesigned the APIs</h3><h3>1. Replaced Generic Endpoints with Purpose-Built Endpoints</h3><p><strong>Before (generic):</strong></p><pre>GET /policies/{id}</pre><p>Returned everything.</p><p><strong>After (use-case driven):</strong></p><pre>GET /policies/summary/{id}        → Dashboard view<br>GET /policies/risk-view/{id}      → Underwriting view<br>GET /policies/compliance/{id}     → Audit &amp; compliance view</pre><p>Each endpoint served a <strong>specific role</strong> and returned <strong>only relevant data</strong>.</p><h3>2. Slimmed and Restructured Response Payloads</h3><p>Instead of returning full objects, I:</p><ul><li>Removed unused fields</li><li>Flattened deeply nested structures</li><li>Standardized response schemas</li><li>Returned only <strong>decision-critical attributes</strong></li></ul><p><strong>Example: Risk View Response</strong></p><pre>{<br>  &quot;policyId&quot;: &quot;P12345&quot;,<br>  &quot;status&quot;: &quot;ACTIVE&quot;,<br>  &quot;coverageLimit&quot;: 500000,<br>  &quot;riskScore&quot;: 72,<br>  &quot;riskFlags&quot;: [&quot;HIGH_VALUE_PROPERTY&quot;],<br>  &quot;complianceStatus&quot;: &quot;PASS&quot;<br>}</pre><p>This replaced payloads that were previously <strong>5–10x larger</strong>.</p><h3>3. Implemented Server-Side Filtering, Pagination, and Sorting</h3><p>Instead of sending large datasets to clients:</p><pre>GET /policies?status=ACTIVE&amp;limit=50&amp;page=2</pre><ul><li>Pagination reduced memory and network load</li><li>Filtering avoided unnecessary data transfer</li><li>Sorting ensured UI did not do heavy processing</li></ul><p>This <strong>shifted workload to the backend</strong>, where optimization is easier.</p><h3>4. Added Field Selection to Prevent Over-Fetching</h3><p>Clients could request only what they needed:</p><pre>GET /policies/summary/{id}?fields=status,riskScore,coverageLimit</pre><p>This ensured APIs stayed <strong>flexible without growing bloated</strong>.</p><h3>5. Optimized Backend Queries for API Efficiency</h3><p>To support lean APIs, I:</p><ul><li>Selected only required DB columns</li><li>Reduced join complexity</li><li>Added indexing for high-traffic filters</li><li>Eliminated redundant lookups</li><li>Tuned query execution paths</li></ul><p>This improved:</p><ul><li>Latency</li><li>Throughput</li><li>Cost efficiency</li></ul><h3>6. Designed APIs to Evolve Without Breaking Consumers</h3><p>To prevent downstream breakage, I:</p><ul><li>Versioned endpoints</li><li>Avoided removing fields abruptly</li><li>Added backward-compatible changes</li><li>Maintained <strong>stable response contracts</strong></li></ul><p>This made the platform <strong>safer to evolve over time</strong>.</p><h3>The Outcome</h3><ul><li>Faster API response times</li><li>Smaller payload sizes</li><li>Cleaner frontend logic</li><li>Fewer breaking changes</li><li>Better scalability under real usage</li><li>Improved developer experience across teams</li></ul><p>Most importantly — <strong>the APIs became easier to understand and easier to use.</strong></p><h3>The Bigger Lesson</h3><p><strong>APIs are not just technical endpoints. They are products built for humans.</strong></p><p>Good API design is not about returning more data.<br>It’s about <strong>empathy — understanding the consumer’s intent and designing accordingly</strong>.</p><p>When APIs respect the people using them, <strong>systems scale better, teams move faster, and products feel simpler.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90683d84659d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Part 2: From Local to Global-How to Push Your First Project to GitHub]]></title>
            <link>https://medium.com/@bollineniharika2727/part-2-from-local-to-global-how-to-push-your-first-project-to-github-677be7d269ed?source=rss-6c57a7e91aed------2</link>
            <guid isPermaLink="false">https://medium.com/p/677be7d269ed</guid>
            <category><![CDATA[git-commit]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[git-for-beginners]]></category>
            <category><![CDATA[beginners-guide]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Bolliharika]]></dc:creator>
            <pubDate>Sun, 14 Sep 2025 02:25:56 GMT</pubDate>
            <atom:updated>2025-09-14T13:35:57.071Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Introduction</strong></h3><p>In the previous article, we set up our GitHub account, created our first repository, and installed Git locally. That was like setting up your kitchen. Now, it’s time to cook! In this guide, we’ll learn how to create files, commit changes, and push them to GitHub — so your code can live online and be shared with the world.</p><h3>Step 1: Create a File in Your Project</h3><p>Open your project folder and add a simple file. For example, hello.txt or hello.py.</p><blockquote>Think of this as adding a new recipe card to your kitchen. Each file is an ingredient in your coding project.</blockquote><p><strong>Option 1: Using File Explorer (Windows) or Finder (Mac)</strong></p><ol><li>Go to your project folder.</li><li>Right-click → New → Text Document.</li><li>Name it hello.txt.</li><li>Open it and type something like:</li></ol><pre>Hello, GitHub!</pre><p>5. Save the file.</p><p><strong>Option 2: Using Terminal / Command Prompt</strong></p><pre># Create a new text file named hello.txt<br>notepad hello.txt</pre><ul><li>This will open Notepad.</li><li>Type Hello, GitHub! inside, then save and close.</li><li><em>Now the file </em><em>hello.txt exists in your project folder.</em></li></ul><h3>Step 2: Stage Your Changes</h3><p>Staging is like choosing the ingredients for your next dish, even if you already have them all. Even if there are 10 ingredients (files) on the counter, you might only want 2 for this dish (commit). Staging tells Git:</p><blockquote><em>“Hey Git, these are the files I want to include in the next snapshot.”</em></blockquote><ol><li>You created a file hello.txt and another file notes.txt.</li><li>You only want to commit hello.txt now.</li></ol><pre>git add hello.txt</pre><ul><li>Now, hello.txt is <strong>staged.</strong></li><li>notes.txt is <strong>not staged</strong>, so it won’t be included in the commit.</li></ul><h3>Step 3: Commit Your Changes</h3><p>A <strong>commit</strong> is a saved checkpoint. It records your progress and makes it easy to go back if needed.</p><pre>git commit -m &quot;Add hello.txt file&quot;</pre><ul><li>Only the <strong>staged file(s)</strong> (hello.txt) will be saved in this commit.</li></ul><h3>Step 4: Connect Local Repo to GitHub</h3><p>To upload your project online, you need to connect your local repository to the GitHub repository. Think of this as <strong>linking your personal kitchen station to the main restaurant kitchen</strong>.<br>You’re telling Git: “This is the official place online where my dishes (code) will be stored.”</p><pre># Add the GitHub repo URL as a remote<br>git remote add origin https://github.com/username/my-first-repo.git</pre><p>Replace username and my-first-repo with your GitHub username and repository name.</p><h3>Step 5: Push Your Code to GitHub</h3><p>Finally, send your local commits to GitHub. This is like sharing your finished dish with the world. <br>Now it’s time to <strong>send your prepared dish from your station to the restaurant’s serving counter</strong>.<br>This makes your code live and available for everyone (or your team) to see.</p><pre>git push -u origin main</pre><p>Well done! Your project is now uploaded and ready to be shared with the world.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=677be7d269ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GitHub for Beginners: The Essential Toolkit to Kickstart Your Coding Journey]]></title>
            <link>https://medium.com/@bollineniharika2727/github-for-beginners-the-essential-toolkit-to-kickstart-your-coding-journey-2b1049083101?source=rss-6c57a7e91aed------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b1049083101</guid>
            <dc:creator><![CDATA[Bolliharika]]></dc:creator>
            <pubDate>Thu, 17 Oct 2024 01:20:01 GMT</pubDate>
            <atom:updated>2024-10-17T01:20:01.388Z</atom:updated>
            <content:encoded><![CDATA[<p>Think of a busy restaurant kitchen where multiple chefs work together to create a delicious meal. Each chef has their role, tools, and techniques, but they need to work in harmony to ensure the meal is perfect. <strong>GitHub</strong> is like that kitchen for developers. It provides a place where code can be crafted, improved, and served to the world, all while keeping things organized and efficient. Let’s dive into what makes GitHub so essential, especially if you’re just starting in coding.</p><h4>What is GitHub?</h4><p>GitHub is like the kitchen where the magic happens in a restaurant. It’s a platform where developers store, share, and refine their code, just as chefs prepare and perfect dishes. It’s built on Git, a system that <strong>tracks</strong> every step of the recipe (<strong>code changes</strong>) so you can always go back if something doesn’t taste right.</p><h4><strong>Getting Started with GitHub!</strong></h4><h4><strong>Step 1: Create an Account</strong></h4><p>Just like joining the kitchen team, you first need to set up your station. Go to <a href="https://github.com/">github.com</a> and sign up for an account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xvR66z0DnUyByowE7zEgHg.png" /><figcaption>Here you’ll be asked to Enter your email followed by Creating a password</figcaption></figure><h4>Step 2: Create Your First Repository</h4><p>A repository (or “repo”) is like a project folder that contains all the files and tracks the history of changes.</p><ul><li>Go to the GitHub homepage and click “New Repository.”</li><li>Name your repo (e.g., “my-first-repo”).</li><li>Initialize with a README (optional but recommended).</li><li>Choose whether the repo is public or private.</li></ul><h4>Step 3: Setup Git locally(System)</h4><p>Git for Windows:</p><ul><li>Go to this website: <a href="http://Git for Windows">https://git-scm.com/downloads/win</a></li><li>Click the download link to get the .exe installer.</li><li>Follow the installation steps.</li><li>To Know if git is installed, you can open cmd and type a command.</li></ul><figure><img alt="#This is the output you get if git is installed in your local" src="https://cdn-images-1.medium.com/max/778/1*C644xSrVwGP7-tSKOjRWjQ.png" /><figcaption>#This is the output you get when git is installed on your system</figcaption></figure><p><strong>Note</strong>: If git is not installed properly and given the command git — version you get the output as, &#39;git&#39; is not recognized as an internal or external command, operable program, or batch file. Follow the above documentation properly to install git and try again by giving the command git — version.</p><h4><strong>Step 4: Create Your First Repository Locally</strong></h4><p>Open your cmd and Navigate to the folder where you want to store your project. You can create one if you don’t have in your File Explorer.</p><pre>cd path-to-your-project</pre><p>Now, once you are inside your project run the given command to initialize git in your folder. (That means from now on, Git will watch everything you do in that folder. Any file you create, change, or delete will be noted by Git. It creates a hidden .git folder in your project that keeps track of all these changes.)</p><pre>git init</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mnGP3PB6R34MsBLuU7CUbA.png" /></figure><h3>Summary</h3><p>GitHub is an essential platform for developers, acting as a collaborative kitchen where code is crafted, refined, and shared. By setting up your account, creating repositories, and installing Git locally, you’ve taken the initial steps to get started. However, we still need to create files and commit your changes — key actions to fully manage your project.</p><p>Stay tuned for the next article, where we’ll dive into these crucial steps!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b1049083101" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>