<?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 Ramprasanth S on Medium]]></title>
        <description><![CDATA[Stories by Ramprasanth S on Medium]]></description>
        <link>https://medium.com/@ramprasanthsankaranarayanan?source=rss-6b5f054f8b97------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*IcbnAo8Pk08rAZDYBV73uQ.jpeg</url>
            <title>Stories by Ramprasanth S on Medium</title>
            <link>https://medium.com/@ramprasanthsankaranarayanan?source=rss-6b5f054f8b97------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 21:21:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ramprasanthsankaranarayanan/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[Supabase for Beginners: Build Scalable Apps with Database, Auth & Storage Step By Step]]></title>
            <link>https://medium.com/@ramprasanthsankaranarayanan/supabase-for-beginners-build-scalable-apps-with-database-auth-storage-step-by-step-87d41c3ce02b?source=rss-6b5f054f8b97------2</link>
            <guid isPermaLink="false">https://medium.com/p/87d41c3ce02b</guid>
            <category><![CDATA[supabase-js]]></category>
            <category><![CDATA[supabase]]></category>
            <category><![CDATA[setup-supabase]]></category>
            <dc:creator><![CDATA[Ramprasanth S]]></dc:creator>
            <pubDate>Sun, 26 Apr 2026 08:20:07 GMT</pubDate>
            <atom:updated>2026-04-26T08:22:06.975Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/534/0*4yDket4ru4I1zQrw" /></figure><h3>Introduction</h3><p>Supabase is a powerful open-source platform that provides everything you need to build modern applications quickly. At its core, Supabase uses <strong>PostgreSQL</strong>, a robust relational database system, to store structured data in tables (rows and columns).</p><p>It also supports advanced data types like <strong>JSON</strong> and <strong>vector embeddings</strong>, and allows developers to write <strong>triggers and functions using pure SQL</strong>.</p><p><strong>Did you know?</strong><br>Supabase can act as a <strong>Backend-as-a-Service (BaaS)</strong> for frameworks like React.js, React Native, Flutter, Angular, and Vue. This means you can build full-stack apps without managing your own backend server.</p><h3>Why the Name “Supabase”?</h3><p>The name <em>Supabase</em> comes from the idea of being a <strong>“super” backend built on top of a database</strong>. It enhances traditional database capabilities with modern backend features like authentication, real-time updates, and APIs.</p><h3>Understanding Supabase Database Structure</h3><p>Supabase follows a <strong>relational database model</strong>, meaning data is organized into related tables.</p><h3>Relationship Types:</h3><ul><li>One-to-One</li><li>One-to-Many</li><li>Many-to-One</li><li>Many-to-Many</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/0*luSat8DdRnt8Cul9.jpg" /></figure><p>These relationships allow efficient querying using <strong>JOIN operations</strong>, which is a major advantage over NoSQL databases.</p><h3>Why Choose Supabase?</h3><h3>1. Relational + Realtime Database</h3><p>Supabase combines structured data with <strong>real-time updates</strong>, making it ideal for chat apps, live dashboards, and tracking systems.</p><h3>2. Faster Access Speed</h3><ul><li>Uses indexing (primary, secondary, clustering)</li><li>CDN support for static assets</li><li>Optimized PostgreSQL engine</li></ul><h3>3. Full Stack Solution</h3><p>Supabase provides:</p><ul><li>Database</li><li>Authentication</li><li>Storage</li><li>Serverless functions</li></ul><h3>4. SQL + Auto REST APIs</h3><ul><li>Write raw SQL queries</li><li>Automatically generated REST APIs from your schema</li></ul><h3>5. Strong Security</h3><ul><li>Role-based access control</li><li>Row-Level Security (RLS)</li></ul><h3>6. Open Source</h3><p>Fully open-source — customize and extend as needed.</p><h3>Step-by-Step: Getting Started with Supabase</h3><h3>Step 1: Create an Account</h3><ol><li>Go to Supabase website</li><li>Sign up using GitHub or email</li><li>Create a new project</li></ol><h3>Step 2: Project Dashboard Overview</h3><p>Once your project is created, you will see the dashboard with several important sections:</p><ul><li>Table Editor</li><li>SQL Editor</li><li>Authentication</li><li>Storage (Buckets)</li><li>Database</li><li>Logs</li></ul><h3>Table Editor (Database Tables)</h3><p>The <strong>Table Editor</strong> allows you to:</p><ul><li>Create tables</li><li>Add columns (fields)</li><li>Insert/update/delete data</li></ul><h3>Example:</h3><p>You can create a table like users:</p><ul><li>id (Primary Key)</li><li>name</li><li>email</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gb7C_i1CrNb-416r4WbnGA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xPkPJkcZ5IQ-XbTuu8TyHw.png" /></figure><h3>Database (Core Storage System)</h3><p>Supabase uses <strong>PostgreSQL database</strong>, which provides:</p><ul><li>Structured storage</li><li>Relationships between tables</li><li>Advanced querying (JOIN, GROUP BY, etc.)</li></ul><h3>Key Features:</h3><ul><li>Indexing for fast queries</li><li>Data normalization</li><li>ACID compliance</li></ul><h3>SQL Editor</h3><p>The <strong>SQL Editor</strong> allows you to:</p><ul><li>Write custom SQL queries</li><li>Create functions and triggers</li><li>Perform complex operations</li></ul><h3>Example Query:</h3><pre><br>CREATE TABLE students (<br>  id SERIAL PRIMARY KEY,<br>  name TEXT,<br>  age INT<br>);</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5EDSyxG3Ip2Rp3PVBEnDlQ.png" /></figure><h3>Storage (Buckets)</h3><p>Supabase Storage uses <strong>Buckets</strong> to store files like:</p><ul><li>PDFs</li><li>Images</li><li>Videos</li></ul><h3>What is a Bucket?</h3><p>A <strong>bucket</strong> is like a folder where you store files.</p><h3>Example:</h3><ul><li>user-uploads</li><li>profile-images</li></ul><h3>Features:</h3><ul><li>Public or private access</li><li>File upload/download</li><li>CDN support</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c--KlbQJT6W6V5VbyXn-HA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mVmmAkpYjxlbCpg2HVuW_A.png" /></figure><h3>Authentication</h3><p>Supabase provides built-in authentication with:</p><h3>Supported Methods:</h3><ul><li>Email &amp; Password</li><li>OTP login</li><li>OAuth (Google, GitHub, etc.)</li></ul><h3>Features:</h3><ul><li>User management</li><li>Session handling</li><li>Secure login system</li></ul><h3>Logs &amp; Monitoring</h3><p>The <strong>Logs section</strong> helps you track:</p><ul><li>API requests</li><li>Errors</li><li>Database queries</li><li>Authentication events</li></ul><h3>Why it’s useful:</h3><ul><li>Debug issues</li><li>Monitor performance</li><li>Improve app reliability</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_AfqO3XDFZfLhNW_A0PIeQ.png" /></figure><h3>Database Storage</h3><p>Supabase stores:</p><ul><li>Structured data (tables)</li><li>Unstructured data (JSON)</li><li>Files (buckets)</li></ul><h3>Connecting Supabase to Your Project</h3><p>To connect Supabase with your app, you need:</p><pre>const SUPABASE_URL = &quot;https://naxhxwtjwlvzyrqwrcde.supabase.co&quot;<br>const SUPABASE_KEY = &quot;sb_publishable_XXXXXXXX&quot;</pre><p><strong>Important:</strong></p><ul><li>Never expose your <strong>service role key</strong></li><li>Use only <strong>anon/public key</strong> in frontend</li></ul><h3>Example: JavaScript Connection</h3><pre>import { createClient } from &#39;@supabase/supabase-js&#39;</pre><pre>const supabase = createClient(SUPABASE_URL, SUPABASE_KEY)</pre><pre>// Fetch data<br>const { data, error } = await supabase<br>  .from(&#39;students&#39;)<br>  .select(&#39;*&#39;)</pre><h3>Create supabase_config.js</h3><h3>Step 1: Install Supabase Client</h3><pre>npm install @supabase/supabase-js</pre><h3>Step 2: Create the Config File</h3><p>Create a file named:</p><pre>supabase_config.js</pre><h3>Step 3: Add the Configuration Code</h3><pre>import { createClient } from &#39;@supabase/supabase-js&#39;</pre><pre>// Your Supabase project credentials<br>const SUPABASE_URL = &quot;https://naxhxwtjwlvzyrqwrcde.supabase.co&quot;<br>const SUPABASE_KEY = &quot;sb_publishable_XXXXXXXX&quot;</pre><pre>// Create Supabase client<br>const supabase = createClient(SUPABASE_URL, SUPABASE_KEY)</pre><pre>// Export the client to use in other files<br>export default supabase</pre><p>Another Best way:Use Environment Variables</p><p>Instead of hardcoding keys:</p><h3>.env file</h3><pre>VITE_SUPABASE_URL=https://your-project.supabase.co<br>VITE_SUPABASE_KEY=your-anon-key</pre><h3>Updated Config File</h3><pre>const SUPABASE_URL = import.meta.env.VITE_SUPABASE_URL<br>const SUPABASE_KEY = import.meta.env.VITE_SUPABASE_KEY</pre><h3>Real-World Use Case</h3><p>In your project (like PDF upload system):</p><ul><li>Use <strong>Buckets</strong> → Store PDFs</li><li>Use <strong>Tables</strong> → Store metadata (pages, user info)</li><li>Use <strong>Auth</strong> → Manage users</li><li>Use <strong>SQL</strong> → Calculate page counts</li><li>Use <strong>Logs</strong> → Debug issues</li></ul><h3>APIs</h3><p>Supabase automatically generates:</p><ul><li>REST APIs</li><li>Realtime APIs</li></ul><h3>Why Naming (Schema &amp; Structure) Matters?</h3><p>Proper naming is very important in Supabase:</p><p>Supabase, built on PostgreSQL, is generally case-sensitive regarding data queries and database schema, meaning ‘Data’ and ‘data’ are distinct.</p><h3>Best Practices:</h3><ul><li>Use clear table names (users, orders)</li><li>Use meaningful column names (email, created_at)</li><li>Follow consistent naming style (snake_case)</li></ul><h3>Why?</h3><ul><li>Improves readability</li><li>Easier maintenance</li><li>Better API understanding</li></ul><h3>Conclusion</h3><p>Supabase is an excellent choice for developers who want:</p><ul><li>A powerful relational database</li><li>Built-in backend features</li><li>Fast development workflow</li></ul><p>Whether you’re building a <strong>small project, startup, or enterprise app</strong>, Supabase provides everything in one place.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87d41c3ce02b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Java Memory Management Explained: JVM, JRE, JDK, Stack, Heap, and String Pool]]></title>
            <link>https://medium.com/@ramprasanthsankaranarayanan/java-memory-management-explained-jvm-jre-jdk-stack-heap-and-string-pool-5c3ced83e7fa?source=rss-6b5f054f8b97------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c3ced83e7fa</guid>
            <category><![CDATA[java-architecture]]></category>
            <category><![CDATA[string-pool]]></category>
            <category><![CDATA[memory-improvement]]></category>
            <category><![CDATA[jdk]]></category>
            <category><![CDATA[java-memory-management]]></category>
            <dc:creator><![CDATA[Ramprasanth S]]></dc:creator>
            <pubDate>Thu, 12 Mar 2026 15:57:02 GMT</pubDate>
            <atom:updated>2026-03-12T15:57:02.421Z</atom:updated>
            <content:encoded><![CDATA[<h3>Java Memory Management — JVM, JRE, JDK and JVM Memory Architecture</h3><h3>Introduction</h3><p>Java is one of the most widely used <strong>object-oriented programming languages</strong> in the world. One of the main reasons Java is powerful and reliable is its <strong>automatic memory management system</strong>.</p><p>Unlike languages such as C or C++, developers do not need to manually allocate or deallocate memory. Java handles memory automatically through the <strong>Java Virtual Machine (JVM)</strong> and <strong>Garbage Collection</strong>.</p><p><strong>JDK, JRE, and JVM</strong> are the three main components that make Java programs work. The <strong>JDK (Java Development Kit)</strong>is the complete package used by developers to write and compile Java programs, and it includes tools like the Java compiler. Inside the JDK is the <strong>JRE (Java Runtime Environment)</strong>, which provides the necessary libraries and environment required to run Java applications. Within the JRE is the <strong>JVM (Java Virtual Machine)</strong>, which is the core component responsible for executing Java bytecode and managing memory during program execution. <strong>JDK is used to develop Java programs, JRE is used to run them, and JVM is the engine that actually executes the program</strong></p><p>In this blog, we will clearly understand:</p><ul><li>What <strong>JDK, JRE, and JVM</strong> are</li><li>How a Java program executes internally</li><li>JVM memory architecture</li><li>Difference between <strong>Stack and Heap memory</strong></li><li><strong>String Pool concept</strong></li><li>How objects and references are stored in memory</li></ul><p>This explanation is written in <strong>simple language</strong> and is useful for <strong>students, beginners, and interview preparation</strong>.</p><h3>Java is an Object-Oriented Programming Language</h3><p>Java follows the <strong>Object-Oriented Programming (OOP)</strong> paradigm.</p><p>In Java, programs are built using <strong>objects and classes</strong>.</p><p><em>Everything in Java revolves around objects.</em></p><p>Real-Life Example</p><p>A <strong>human</strong> can be represented as an object in a program.</p><p>Every object has two important characteristics:</p><ol><li><strong>Object knows something</strong> → Properties (Variables / Data)</li><li><strong>Object does something</strong> → Behavior (Methods)</li></ol><h3>Example</h3><pre>class Human {<br>    String name;   <br>void walk() {<br>        System.out.println(&quot;Human is walking&quot;);<br>    }<br>}</pre><ul><li>name → property</li><li>walk() → behavior</li></ul><h3>Java Program Execution Flow</h3><p>Let us understand what happens internally when we run a Java program.</p><h3>Step-by-Step Flow</h3><ol><li>Developer writes Java code in a <strong>.java file</strong></li><li><strong>JDK compiler (javac)</strong> compiles the program</li><li>Code converts into <strong>Bytecode (.class file)</strong></li><li>Bytecode is loaded into the <strong>JVM</strong></li><li>JVM executes the program using <strong>JRE libraries and memory</strong></li></ol><h3>JDK, JRE and JVM Architecture</h3><p>Java works in a <strong>layered architecture</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/0*OOD8DSzW3HxRt787" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/0*_BDANljCJLugtk3I" /></figure><h3>JDK (Java Development Kit)</h3><p>JDK is used by <strong>developers to create Java applications</strong>.</p><p>It contains:</p><ul><li>Java Compiler (javac)</li><li>JRE</li><li>Development tools</li></ul><h3>Purpose</h3><p>Used for <strong>writing, compiling, and building Java programs</strong>.</p><p>key features…</p><p>Java is called a <strong>platform-independent language</strong> because its programs can run on any operating system without changing the code. When a developer writes a Java program, the <strong>Java compiler</strong> converts the source code (.java file) into <strong>bytecode</strong> (.class file). This bytecode is not specific to any operating system. Instead, it is a <strong>platform-neutral intermediate code</strong> that can run on any system that has a <strong>Java Virtual Machine (JVM)</strong> installed. The JVM acts as a translator between the bytecode and the operating system, converting the bytecode into machine code that the specific system can understand. Because every operating system (Windows, Linux, macOS) has its own JVM implementation, the same bytecode can run on any platform. This is why Java follows the principle <strong>“Write Once, Run Anywhere (WORA)”</strong>, making it a platform-independent programming language.</p><h3>JRE (Java Runtime Environment)</h3><p>JRE provides the <strong>runtime environment required to execute Java programs</strong>.</p><p>It includes:</p><ul><li>JVM</li><li>Core Java libraries</li><li>Required dependency files</li></ul><h3>Purpose</h3><p>Provides the <strong>environment to run Java applications</strong>.</p><h3>JVM (Java Virtual Machine)</h3><p>JVM is the <strong>heart of Java</strong>.</p><p>It is responsible for:</p><ul><li>Loading bytecode</li><li>Executing Java programs</li><li>Managing memory</li><li>Garbage collection</li></ul><p>JVM does not have its own physical memory. Instead, it uses <strong>system memory (RAM)</strong> from the operating system.</p><p>So when we say <strong>JVM Memory</strong>, we mean the memory that JVM uses from the underlying system.</p><h3>JVM Memory Management</h3><p>Memory refers to the system’s ability to <strong>store and retrieve data for later use</strong>.</p><p>In computing, memory usually refers to electronic storage such as:</p><ul><li><strong>RAM (Random Access Memory)</strong> — temporary storage</li><li><strong>Hard Disk / SSD</strong> — permanent storage</li></ul><p>JVM uses RAM and divides it into multiple memory areas to manage program execution efficiently.</p><h3>JVM Memory Architecture</h3><p>The JVM memory model divides memory into several components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/0*Ir1PWTHp0VMPS_MP.png" /></figure><h3>Stack Memory</h3><p>Stack memory is used for:</p><ul><li>Method calls</li><li>Local variables</li><li>Reference variables</li></ul><p>Stack works using the <strong>LIFO (Last In First Out)</strong> principle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/0*VDERHeEc6vr_yvYm.png" /></figure><h3>Example</h3><pre>public static void main(String[] args) {<br>    int a = 100;<br>    int b = 999;<br>}</pre><p>Here:</p><ul><li>a and b are primitive variables</li><li>They are stored directly in <strong>stack memory</strong></li></ul><h3>Stack Scope</h3><p>Variables stored in stack have <strong>limited scope</strong>.</p><p>Only variables within the currently executing method are accessible.</p><p>When the method finishes:</p><ul><li>The stack frame is removed</li><li>The memory is released automatically</li></ul><h3>Stack is Thread Specific</h3><p>Each thread in Java has its <strong>own stack memory</strong>.</p><p>So if two threads call the same method:</p><ul><li>Each thread will have its own copy of local variables.</li></ul><h3>Heap Memory</h3><p>Heap memory stores <strong>actual objects and arrays</strong>.</p><p>Objects created using the new keyword are stored in heap memory.</p><h3>Example</h3><pre>StringBuilder builder = new StringBuilder();</pre><p>Process:</p><ol><li>JVM checks free space in heap</li><li>Creates a StringBuilder object</li><li>Stores reference builder in stack</li></ol><pre>Stack                Heap<br>builder ---------&gt;  StringBuilder Object</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lAEez5yr9featgJS.png" /></figure><p>There exists only one heap memory for each running JVM process. Therefore, this is a shared part of memory regardless of how many threads are running.</p><p>The Java Virtual Machine has a <em>heap</em> that is shared among all Java Virtual Machine threads.The heap is the run-time data area from which memory for all class instances and arrays is allocated.</p><p>The following exceptional condition is associated with the heap:</p><ul><li>If a computation requires more heap than can be made available by the automatic storage management system, the Java Virtual Machine throws an OutOfMemoryError.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/0*I2Qoju9R_F_7mG6j.png" /></figure><h3>Heap Characteristics</h3><ul><li>Only <strong>one heap per JVM</strong></li><li>Shared among <strong>all threads</strong></li><li>Used to store:</li><li>Objects</li><li>Arrays</li><li>Static variables</li></ul><p>Heap memory is managed by the <strong>Garbage Collector (GC)</strong>.</p><p>Developers <strong>do not manually delete objects</strong>.</p><h3>String Pool Concept</h3><p>String Pool is a <strong>special area inside the Heap</strong>.</p><p>It stores <strong>unique string literals</strong> to avoid duplicate objects and improve memory efficiency.</p><h3>Example 1: String Literal Comparison</h3><pre>public class Compare {<br>    String f1 = &quot;apple&quot;;<br>    String f2 = &quot;apple&quot;;<br>public static void main(String[] args) {<br>        if (f1 == f2) {<br>            System.out.println(&quot;true&quot;);<br>        } else {<br>            System.out.println(&quot;false&quot;);<br>        }<br>    }<br>}</pre><h3>Explanation</h3><ul><li>&quot;apple&quot; is created <strong>only once in String Pool</strong></li><li>f1 and f2 refer to the same object</li><li>== checks <strong>reference location</strong></li></ul><p>Output:</p><pre>true</pre><pre><br>public class Compare {<br>    String f1 = &quot;apple&quot;;<br>    String f2 = &quot;orange&quot;;<br>public static void main(String[] args) {<br>        if (f1 == f2) {<br>            System.out.println(&quot;true&quot;);<br>        } else {<br>            System.out.println(&quot;false&quot;);<br>        }<br>    }<br>}</pre><p>👆🏻if we change the f2 = apple into orange the output of comparing of two veriable f1 and f2 is true why it only comparing the addres so the output is true. but it is wrong so use .equles for string comparing</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Sq88qcgepwWbDmkH.png" /></figure><pre>==       → compares reference<br>.equals() → compares actual value</pre><p>Correct comparison:</p><pre>if(f1.equals(f2)){<br>   System.out.println(&quot;true&quot;);<br>}</pre><p>For example, when we write:</p><pre>String f1 = &quot;apple&quot;;<br>String f2 = &quot;apple&quot;;</pre><p>The string &quot;apple&quot; is created <strong>only once in the String Pool</strong>. Both f1 and f2 point to the <strong>same memory location</strong>. Therefore, comparing them using == returns true because both variables reference the <strong>same object</strong>.</p><p>However, when we use the new keyword:</p><pre>String f1 = new String(&quot;apple&quot;);<br>String f2 = new String(&quot;apple&quot;);</pre><p>The new keyword <strong>forces the JVM to create a new object in the heap</strong>, even if the same string already exists in the String Pool. As a result, two separate objects are created, and their references are different. Because the == operator compares <strong>references rather than actual values</strong>, the result becomes false.</p><p>It is important to note that:</p><ul><li>== compares <strong>memory references</strong></li><li>.equals() compares <strong>actual string values</strong></li></ul><p>Therefore, when comparing strings in Java, it is recommended to use the .equals() method to check whether the <strong>content of two strings is the same</strong>.</p><p>The String Pool is an important feature of Java memory management because it helps <strong>save memory, improve performance, and manage string objects efficiently within the JVM</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c3ced83e7fa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Spring Boot REST API Stubs with Swagger]]></title>
            <link>https://medium.com/@ramprasanthsankaranarayanan/spring-boot-rest-api-stubs-with-swagger-15a1ab31aabe?source=rss-6b5f054f8b97------2</link>
            <guid isPermaLink="false">https://medium.com/p/15a1ab31aabe</guid>
            <dc:creator><![CDATA[Ramprasanth S]]></dc:creator>
            <pubDate>Sun, 21 Sep 2025 10:04:09 GMT</pubDate>
            <atom:updated>2025-09-21T10:15:52.306Z</atom:updated>
            <content:encoded><![CDATA[<p>Today, I’m stepping up from writing normal APIs to using <strong>Swagger</strong> to simplify the API development process. Let’s walk through it step by step.</p><h3>What is OpenAPI?</h3><p>The <strong>OpenAPI Specification</strong> (OAS) defines a standardized format for REST APIs. Think of it as a blueprint for designing, documenting, and consuming APIs in a structured way.</p><p>By following OpenAPI, your APIs become:</p><ul><li>More <strong>understandable</strong> (clear structure).</li><li>More <strong>interoperable</strong> (works across platforms).</li><li>Easier to <strong>integrate</strong> (other developers can plug in without confusion).</li></ul><p>In short, OpenAPI gives APIs a universal language.</p><h3>What is Swagger?</h3><p><strong>Swagger</strong> is a set of open-source tools built around the OpenAPI specification. It helps developers:</p><ul><li><strong>Design</strong> REST APIs</li><li><strong>Document</strong> REST APIs</li><li><strong>Test and consume</strong> REST APIs</li></ul><p>Without Swagger, writing REST APIs means manually creating controllers, DTOs, models, and documentation. This is time-consuming.</p><p>With Swagger, most of this gets simplified. Swagger automatically generates the documentation and even stubs for your API. After integration, you’ll see the API documentation UI (Swagger UI), which makes testing super easy.</p><h3>Why Do We Need a Swagger Spec?</h3><p>Normally, when we build APIs, the backend developer writes everything and then explains the endpoints to frontend or mobile developers. This often leads to <strong>miscommunication</strong>.</p><p>Swagger solves this problem:</p><ul><li>It acts as <strong>live documentation</strong>.</li><li>Developers can <strong>see, try, and test</strong> APIs directly.</li><li>It reduces <strong>time and errors</strong>.</li></ul><h3>Creating a Swagger Spec</h3><p>When I first tried creating a Swagger specification, it felt complicated. Errors kept popping up. But once I understood the structure, it became easier.</p><p>Here’s how I started:</p><h3>Step 1: Use Swagger Editor</h3><p>Swagger Editor is a browser-based tool where you can define APIs in <strong>YAML</strong> or <strong>JSON</strong> format. It has a side-by-side view:</p><ul><li>On the <strong>left</strong>, you write the specification.</li><li>On the <strong>right</strong>, you see how the documentation will look for the end user.</li></ul><p>Try it here: <a href="https://editor.swagger.io/">https://editor.swagger.io/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fy-8iQrgc0uBShCoeUwHoQ.png" /></figure><h3>Step 2: Define Your API</h3><p>Let’s define a simple <strong>Student API</strong> using Swagger spec (YAML format):</p><pre>openapi: 3.0.1<br>info:<br>  title: Student Onboarding API<br>  description: API for onboarding students (education details).<br>  version: 1.0.0<br>servers:<br>  - url: http://localhost:8080<br>paths:<br>  /api/students/education-details:<br>    post:<br>      summary: Add a new student<br>      tags:<br>        - Student<br>      requestBody:<br>        required: true<br>        content:<br>          application/json:<br>            schema:<br>              $ref: &#39;#/components/schemas/StudentDTO&#39;<br>      responses:<br>        &#39;201&#39;:<br>          description: Student created successfully<br>          content:<br>            application/json:<br>              schema:<br>                $ref: &#39;#/components/schemas/StudentDTO&#39;<br>        &#39;400&#39;:<br>          description: Invalid input<br>        &#39;500&#39;:<br>          description: Server Error<br>components:<br>  schemas:<br>    StudentDTO:<br>      type: object<br>      <br>      properties:<br>        firstName:<br>          type: string<br>        degree:<br>          type: string<br>        specialization:<br>          type: string<br>        institution:<br>          type: string<br>        cgpa:<br>          type: number<br>          format: float<br>        year:<br>          type: integer<br>        location:<br>          type: string</pre><h3>After Writing the Swagger Spec</h3><p>Once you’ve created your Swagger (OpenAPI) specification, the next step is to bring it into your <strong>Spring Boot project</strong>.</p><h3>Step 1: Import the YAML file</h3><p>Copy your swagger.yaml (or openapi.yaml) file into the <strong>resources</strong> folder of your project:</p><ul><li>Go to your <strong>resources</strong> folder in IntelliJ</li><li>Create a file named swagger.yaml</li><li>Paste the spec from Swagger Editor</li></ul><pre>/Users/apple/Downloads/student-onboarding-api/src/main/resources/swagger.yaml</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tdF1mX9be6DsNGdwfiiRVw.png" /></figure><p>Placing it in resources/ makes it part of your project, so tools like <strong>OpenAPI Generator</strong> can access it.</p><h3>Step 2: Generate Stubs</h3><p>Now, generate the <strong>API stubs</strong> (skeleton code) using OpenAPI Generator:</p><pre>openapi-generator generate \<br>  -i src/main/resources/swagger.yaml \<br>  -g spring \<br>  -o target/generated-sources</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J17wwMhxQZxtVILQQf-HUA.png" /></figure><p>This will create a target folder with:</p><ul><li><strong>Interfaces</strong> (API contracts based on your spec)</li><li><strong>DTOs / Models</strong></li><li><strong>Configuration files</strong></li></ul><h4>Add Dependencies in pom.xml</h4><pre>&lt;!-- Lombok (for @RequiredArgsConstructor, @Data, etc.) --&gt;<br>&lt;dependency&gt;<br>    &lt;groupId&gt;org.projectlombok&lt;/groupId&gt;<br>    &lt;artifactId&gt;lombok&lt;/artifactId&gt;<br>    &lt;version&gt;1.18.34&lt;/version&gt;<br>    &lt;scope&gt;provided&lt;/scope&gt;<br>&lt;/dependency&gt;<br><br>&lt;!-- Spring Web (REST APIs) --&gt;<br>&lt;dependency&gt;<br>    &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;<br>    &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;<br>&lt;/dependency&gt;<br><br>&lt;!-- Spring Validation (for @Valid, @NotNull, etc.) --&gt;<br>&lt;dependency&gt;<br>    &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;<br>    &lt;artifactId&gt;spring-boot-starter-validation&lt;/artifactId&gt;<br>&lt;/dependency&gt;<br><br>&lt;!-- Springdoc OpenAPI (Swagger UI) --&gt;<br>&lt;dependency&gt;<br>    &lt;groupId&gt;org.springdoc&lt;/groupId&gt;<br>    &lt;artifactId&gt;springdoc-openapi-starter-webmvc-ui&lt;/artifactId&gt;<br>    &lt;version&gt;2.1.0&lt;/version&gt;<br>&lt;/dependency&gt;</pre><p>Add the Swagger Codegen Plugin</p><p>In your pom.xml:</p><pre>&lt;!-- OpenAPI Generator Maven Plugin --&gt;<br>&lt;plugin&gt;<br>    &lt;groupId&gt;org.openapitools&lt;/groupId&gt;<br>    &lt;artifactId&gt;openapi-generator-maven-plugin&lt;/artifactId&gt;<br>    &lt;version&gt;7.9.0&lt;/version&gt; &lt;!-- check for latest --&gt;<br>    &lt;executions&gt;<br>        &lt;execution&gt;<br>            &lt;id&gt;generate-spring-api&lt;/id&gt;<br>            &lt;goals&gt;<br>                &lt;goal&gt;generate&lt;/goal&gt;<br>            &lt;/goals&gt;<br>            &lt;configuration&gt;<br>                &lt;!-- Path to your OpenAPI spec --&gt;<br>                &lt;inputSpec&gt;${project.basedir}/src/main/resources/swagger.yaml&lt;/inputSpec&gt;<br>                &lt;generatorName&gt;spring&lt;/generatorName&gt;<br>                &lt;library&gt;spring-boot&lt;/library&gt;<br>                &lt;output&gt;${project.build.directory}/generated-sources&lt;/output&gt;<br>                &lt;configOptions&gt;<br>                    &lt;interfaceOnly&gt;true&lt;/interfaceOnly&gt;<br>                    &lt;useTags&gt;true&lt;/useTags&gt;<br>                &lt;/configOptions&gt;<br>            &lt;/configuration&gt;<br>        &lt;/execution&gt;<br>    &lt;/executions&gt;<br>&lt;/plugin&gt;<br><br>&lt;!-- Spring Boot Maven Plugin (to run app with mvn spring-boot:run) --&gt;<br>&lt;plugin&gt;<br>    &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;<br>    &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;<br>&lt;/plugin&gt;</pre><p>This plugin auto-generates your <strong>API boilerplate code</strong> 🚀.</p><h3>Step 3: Implement the Controller</h3><p>Your project will now have an <strong>interface</strong> like this (auto-generated):</p><pre>package com.studentonboarding.student_onboarding_api.api;</pre><pre>import org.springframework.http.ResponseEntity;<br>import org.springframework.web.bind.annotation.*;<br>import java.util.List;</pre><pre>public interface StudentApi {<br>    ResponseEntity&lt;List&lt;StudentDTO&gt;&gt; getStudents();<br>    ResponseEntity&lt;StudentDTO&gt; addStudent(StudentDTO student);<br>}</pre><p>Now, you write your own <strong>controller class</strong> that implements this interface and fills in the logic:</p><pre>package com.studentonboarding.student_onboarding_api.controller;</pre><pre>import com.studentonboarding.student_onboarding_api.api.StudentApi;<br>import com.studentonboarding.student_onboarding_api.model.StudentDTO;<br>import org.springframework.http.ResponseEntity;<br>import org.springframework.web.bind.annotation.RestController;</pre><pre>import java.util.ArrayList;<br>import java.util.List;</pre><pre>@RestController<br>@RequiredArgsConstructor<br>@RequestMapping(&quot;/studentonboarding&quot;)</pre><pre>public class StudentController implements StudentApi {</pre><pre>    @Override<br>    public ResponseEntity&lt;string&gt; addStudent(StudentDTO student) {<br>        <br>        return ResponseEntity.ok(student);<br>    }<br>}</pre><p>Now your <strong>Swagger spec</strong> + <strong>generated stubs</strong> = <strong>working REST API</strong>.</p><p>This process is powerful because:</p><ol><li>You don’t waste time writing boilerplate code.</li><li>Your API always matches the spec.</li><li>You only focus on the <strong>business logic</strong>,</li></ol><ul><li>Created a Swagger spec</li><li>Integrated it into a Spring Boot project</li><li>Generated API code automatically</li><li>Verified it with Swagger UI</li></ul><p>This setup gives you <strong>clean API documentation, faster testing, and smoother collaboration</strong>.</p><h4>Dhileepan</h4><p><strong>Senthil Kumar</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15a1ab31aabe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Spring Boot? (Simple Explanation)]]></title>
            <link>https://medium.com/@ramprasanthsankaranarayanan/what-is-spring-boot-simple-explanation-db9b253c73f6?source=rss-6b5f054f8b97------2</link>
            <guid isPermaLink="false">https://medium.com/p/db9b253c73f6</guid>
            <dc:creator><![CDATA[Ramprasanth S]]></dc:creator>
            <pubDate>Sun, 25 May 2025 13:08:40 GMT</pubDate>
            <atom:updated>2025-05-26T01:06:03.030Z</atom:updated>
            <content:encoded><![CDATA[<p>What is Spring Boot?</p><p>Spring Boot is a tool that helps you create websites or backend systems using Java. It saves time because it handles a lot of setup work automatically.</p><p>What Can You Do with Spring Boot?</p><p>With Spring Boot, you can:</p><p>Make websites that respond to user actions</p><p>Connect backend and frontend using APIs (like giving answers to questions)</p><p>Store and get data from a database like MySQL or MongoDB</p><p>How Does It Work?</p><p>Let’s say you are using a Student App made with Spring Boot. You want to see all students.</p><p>Heres what happens step by step:</p><p>User Request :<br>You click a button like Show all students.</p><p>Controller :<br>The controller sees your request and saysOkay someone wants student data. Let me ask the Service.</p><p>Service :<br>The service understands what to do. It tells the repository, &quot;Go and get all student info from the database.</p><p>Repository (Messenage send to Database):<br>The repository connects with the database. It sends a query: Get all student records.</p><p>Database (Storage):<br>The database gives back the student data.</p><p>Response Back (Return ):</p><p>Database → Repository → Service → Controller → You</p><p>You finally see the list of students on your screen!</p><p>More About Each Layer:</p><p>1. Controller</p><p>This is like the gatekeeper. It listens to users and tells the service what they want.</p><p>@GetMapping(/students) public List&lt;Student&gt; getStudents() { return studentService.getAllStudents(); }</p><p>2. Service</p><p>This is where the rules or logic are written. It knows what to do with the request and how to do it.</p><p>public List&lt;Student&gt; getAllStudents() { return studentRepository.findAll(); }</p><p>3. Repository</p><p>This talks to the database. It uses simple code to get, add, delete, or update data.</p><p>public interface StudentRepository extends JpaRepository&lt;Student, Long&gt; {}</p><p>4. Database</p><p>This is where all your data is stored, like student names, emails, and IDs.</p><p>One Line Summary of Flow:</p><p>You (User) → Controller → Service → Repository → Database → Response comes back to You</p><p>What is Payload?</p><p>Payload is the data you send when making a request. For example, when you add a student, you send their name and email — that is the payload.</p><p>What is Dependency Injection?</p><p>Spring Boot helps automatically create objects you need using @Autowired.<br>You don’t need to write: new Something(), Spring does that for you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db9b253c73f6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Got Selected for the Mentor Bridge Program]]></title>
            <link>https://medium.com/@ramprasanthsankaranarayanan/how-i-got-selected-for-the-mentor-bridge-program-32decebbff8f?source=rss-6b5f054f8b97------2</link>
            <guid isPermaLink="false">https://medium.com/p/32decebbff8f</guid>
            <dc:creator><![CDATA[Ramprasanth S]]></dc:creator>
            <pubDate>Fri, 23 May 2025 03:30:52 GMT</pubDate>
            <atom:updated>2025-05-23T03:30:52.409Z</atom:updated>
            <content:encoded><![CDATA[<p>How I Got Selected for the Mentor Bridge Program</p><p>Yesterday was a very important day in my learning journey. I appeared for the Mentor Bridge exam — a test that could give me the opportunity to join a special learning program. It was a day full of nervousness hope and finally happiness.</p><p>Before the Exam<br>The Mentor Bridge program was selecting 30 students. Out of these 20 were already chosen based on their blog writing. I wasn’t in that list so I had to write the exam along with other students. Only 10 of us would be selected from the test. This made me very nervous.</p><p>Before the exam I struggled with some logic-based questions. The concepts included List ArrayList, HashMap Scanner class, and more. Thankfully my friends helped me understand these topics in a simple way. Their support made a big difference.</p><p>During the Exam<br>When we entered the exam hall everyone was feeling tense. The sir gave us the question paper. Some questions were easy to understand but others were very confusing. Luckily sir explained the tough questions to us which really helped.</p><p>I tried my best and completed the exam with whatever knowledge I had. After the exam we took a short break before the final announcement.</p><p>The Result<br>After the break sir started calling out the names of the selected students. I was waiting and hoping, but also preparing myself for disappointment. Finally in the last few names I heard my name I was selected!</p><p>I felt so happy and proud. All the stress confusion and effort was worth it.</p><p>After the Exam<br>After lunch the selected students including me attended the first class of the Mentor Bridge program. It was an exciting start and I’m looking forward to learning many new things.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32decebbff8f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mentor Bridge Program –: From Compilation to Collections in Java
Welcome to the Mentor Bridge…]]></title>
            <link>https://medium.com/@ramprasanthsankaranarayanan/mentor-bridge-program-from-compilation-to-collections-in-java-welcome-to-the-mentor-bridge-510230639540?source=rss-6b5f054f8b97------2</link>
            <guid isPermaLink="false">https://medium.com/p/510230639540</guid>
            <dc:creator><![CDATA[Ramprasanth S]]></dc:creator>
            <pubDate>Wed, 30 Apr 2025 01:40:25 GMT</pubDate>
            <atom:updated>2025-04-30T01:40:25.648Z</atom:updated>
            <content:encoded><![CDATA[<p>Mentor Bridge Program –: From Compilation to Collections in Java<br>Welcome to the Mentor Bridge Program! Today marks the beginning of an exciting journey into the world of Java programming. In this blog, we’ll recap the key takeaways from today’s training session, which covered everything from how Java compiles code to using advanced data structures. Let’s dive in!</p><p>1. Java Compilation Flow<br>Understanding how Java executes your code is essential:</p><p>Compilation: The .java file is compiled by javac into .class (bytecode).</p><p>Bytecode: Platform-independent code.</p><p>JVM (Java Virtual Machine): Converts bytecode into machine code.</p><p>Interpreter: Executes the bytecode line-by-line at runtime.</p><p>JRE (Java Runtime Environment): Contains JVM + libraries to run Java programs.</p><p>JDK (Java Development Kit): Includes JRE + development tools (e.g., javac).</p><p>2. Compile-Time vs Run-Time<br>Compile-Time: When syntax errors are checked.</p><p>Run-Time: When the program is executed, and runtime exceptions (like divide-by-zero) may occur.</p><p>3. Data Types in Java<br>Primitive Data Types<br>byte, short, int, long</p><p>float, double</p><p>char</p><p>boolean</p><p>Example: Student Class<br>java<br>Copy code<br>class Student {<br> int rollNumber;<br> String name;<br> float marks;</p><p>void display() {<br> System.out.println(&quot;Roll No: &quot; + rollNumber);<br> System.out.println(&quot;Name: &quot; + name);<br> System.out.println(&quot;Marks: &quot; + marks);<br> }<br>}<br>4. Class Format and Initialization<br>java<br>Copy code<br>class MyClass {<br> int value = 10;</p><p>void show() {<br> System.out.println(&quot;Value: &quot; + value);<br> }<br>}<br>5. Bank Task: Deposit &amp; Withdraw<br>java<br>Copy code<br>class Bank {<br> int balance = 1000;</p><p>void deposit(int amount) {<br> balance += amount;<br> System.out.println(&quot;Deposited: &quot; + amount);<br> }</p><p>void withdraw(int amount) {<br> if (amount &lt;= balance) {<br> balance -= amount;<br> System.out.println(&quot;Withdrawn: &quot; + amount);<br> } else {<br> System.out.println(&quot;Insufficient Balance!&quot;);<br> }<br> }<br>}<br>6. Hash Memory and Object Reference<br>Hash Memory: Used by data structures like HashMap for fast retrieval.</p><p>Object Reference: A variable that refers to the memory address of an object.</p><p>java<br>Copy code<br>Student s1 = new Student(); // &#39;s1&#39; is a reference variable<br>7. Constructors in Java<br>What is a Constructor?<br>A special method invoked when an object is created.</p><p>Types of Constructors:<br>Default Constructor</p><p>Parameterized Constructor</p><p>Copy Constructor</p><p>Constructor Example:<br>java<br>Copy code<br>class Demo {<br> int a;</p><p>// Default Constructor<br> Demo() {<br> a = 0;<br> }</p><p>// Parameterized Constructor<br> Demo(int x) {<br> a = x;<br> }</p><p>// Copy Constructor<br> Demo(Demo d) {<br> a = d.a;<br> }<br>}<br>8. Static Block<br>Executes once when the class is loaded.</p><p>Useful for static initializations.</p><p>java<br>Copy code<br>class Example {<br> static {<br> System.out.println(&quot;Static block executed.&quot;);<br> }</p><p>Example() {<br> System.out.println(&quot;Constructor executed.&quot;);<br> }<br>}<br>9. String Split Program<br>java<br>Copy code<br>public class SplitString {<br> public static void main(String[] args) {<br> String input = &quot;Java Mentor Program&quot;;<br> String[] parts = input.split(&quot; &quot;);</p><p>for (String part : parts) {<br> System.out.println(part);<br> }<br> }<br>}<br>10. Java Collection Framework<br>ArrayList<br>java<br>Copy code<br>ArrayList&lt;String&gt; list = new ArrayList&lt;&gt;();<br>list.add(&quot;Apple&quot;);<br>list.add(&quot;Banana&quot;);</p><p>for (String item : list) {<br> System.out.println(item);<br>}<br>Queue<br>java<br>Copy code<br>Queue&lt;Integer&gt; q = new LinkedList&lt;&gt;();<br>q.add(1);<br>q.add(2);<br>System.out.println(q.poll()); // Output: 1<br>HashMap &amp; Synchronized HashMap<br>java<br>Copy code<br>Map&lt;String, Integer&gt; map = new HashMap&lt;&gt;();<br>map.put(&quot;A&quot;, 1);<br>map.put(&quot;B&quot;, 2);<br>System.out.println(map.get(&quot;A&quot;));<br>LinkedList<br>java<br>Copy code<br>LinkedList&lt;String&gt; ll = new LinkedList&lt;&gt;();<br>ll.add(&quot;First&quot;);<br>ll.add(&quot;Second&quot;);<br>Hashtable<br>java<br>Copy code<br>Hashtable&lt;Integer, String&gt; ht = new Hashtable&lt;&gt;();<br>ht.put(1, &quot;One&quot;);<br>System.out.println(ht.get(1));<br>11. Wrapper Classes<br>Used to convert primitives into objects.</p><p>Example:<br>java<br>Copy code<br>Integer i = 10; // Autoboxing<br>int j = i; // Unboxing<br>12. Getter and Setter Example<br>java<br>Copy code<br>class Student {<br> private String name;</p><p>// Getter<br> public String getName() {<br> return name;<br> }</p><p>// Setter<br> public void setName(String newName) {<br> this.name = newName;<br> }<br>}<br>Conclusion<br>Today’s session helped us understand Java’s inner workings and how to manage data using modern Java tools. We explored:</p><p>Compilation to Execution</p><p>Data types &amp; Constructors</p><p>Bank task &amp; String split</p><p>Collections framework: ArrayList, Queue, LinkedList, HashMap, and more</p><p>Task for Tomorrow<br>Explore constructors in depth</p><p>Implement static blocks</p><p>Practice String manipulation</p><p>Apply Collection Frameworks in real-world use cases</p><p>Keep practicing, and see you in the next session!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=510230639540" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Experience in the Mentor Bridge Program]]></title>
            <link>https://medium.com/@ramprasanthsankaranarayanan/my-experience-in-the-mentor-bridge-program-864b93b49c07?source=rss-6b5f054f8b97------2</link>
            <guid isPermaLink="false">https://medium.com/p/864b93b49c07</guid>
            <category><![CDATA[writing]]></category>
            <dc:creator><![CDATA[Ramprasanth S]]></dc:creator>
            <pubDate>Mon, 28 Apr 2025 12:34:36 GMT</pubDate>
            <atom:updated>2025-04-28T12:34:36.272Z</atom:updated>
            <content:encoded><![CDATA[<p>My Experience in the Mentor Bridge Program</p><p>Introduction</p><p>Starting a career journey can be both exciting and challenging. Recently, my college organized a Mentor Bridge Program aimed at helping students bridge the gap between academic knowledge and industry expectations. Although I initially faced some challenges during the selection process, I was fortunate to get another opportunity. Here, I would like to share my experience and learning from the program’s first day.</p><p>My Selection Journey</p><p>During the initial selection, we were given a scenario to solve. Unfortunately, I was not shortlisted because I could not fully satisfy the expectations. However, some mentors recognized my potential and referred me for another chance. I am truly grateful for their support. <br>Today marked the beginning of the training period, and after 10 days of evaluation, final shortlisting will happen. I am determined to give my best effort during this time.</p><p>Learnings from the First Day</p><p>The first day of training was packed with valuable insights. Here’s a summary of the key concepts we discussed:</p><p>1. Waterfall vs Agile Methodology</p><p>We learned the difference between Waterfall and Agile project management methods:<br>- Waterfall is a linear, step-by-step approach where one phase must finish before the next begins.<br>- Agile focuses on flexibility and delivers work in small, manageable parts called &quot;sprints,&quot; making it easier to adapt to changes.</p><p>2. Understanding RFP (Request for Proposal)</p><p>An RFP is a document that companies use to request proposals from vendors when they need a project to be completed. It includes project requirements, timelines, and expectations, helping companies choose the best service provider.</p><p>3. CXO Roles in a Company</p><p>We discussed different CXO-level roles like:<br>- CEO (Chief Executive Officer) — leads the company.<br>- CTO (Chief Technology Officer) — leads the technology strategy.<br>- CSO (Chief Security Officer) — ensures data and information security.</p><p>4. Roles in a Software Project</p><p>Understanding each role is important for teamwork:<br>- Tester checks for software bugs.<br>- Developer writes and maintains code.<br>- Team Leader manages and guides the team.<br>- Project Manager oversees the project deadlines and budgets.<br>- Product Owner defines project goals and features.<br>- Scrum Master ensures smooth Agile process flow.</p><p>5. Salary and Difficulties</p><p>We also touched on salary differences across roles and the typical challenges each role faces, such as tight deadlines for testers, technical difficulties for developers, and team management stress for leaders.</p><p>Conclusion</p><p>The first day of the Mentor Bridge Program was truly eye-opening. I realized the importance of strong fundamentals, communication, and adaptability. I am excited to continue learning over the next few days and hope to secure my place in the final selection. This journey is not just about getting selected, but about growing into a professional ready for real-world challenges.</p><p>Thank you for reading my experience. If you are going through a similar journey, stay confident and keep learning. Success is built one step at a time!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=864b93b49c07" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>