<?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 Sahil Verma on Medium]]></title>
        <description><![CDATA[Stories by Sahil Verma on Medium]]></description>
        <link>https://medium.com/@sahilv04?source=rss-e81f6b0ce0e7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*gjUKiVh4CRsQC0rj.jpg</url>
            <title>Stories by Sahil Verma on Medium</title>
            <link>https://medium.com/@sahilv04?source=rss-e81f6b0ce0e7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 15:00:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sahilv04/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[SEO Is Dying. GEO Is Taking Over.]]></title>
            <link>https://sahilv04.medium.com/seo-is-dying-geo-is-taking-over-0883f814cd48?source=rss-e81f6b0ce0e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/0883f814cd48</guid>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[startupş]]></category>
            <dc:creator><![CDATA[Sahil Verma]]></dc:creator>
            <pubDate>Thu, 26 Mar 2026 18:49:18 GMT</pubDate>
            <atom:updated>2026-03-26T18:49:18.695Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*frZcPb7kzt615deGA3msQA.png" /></figure><h3>(And most people haven’t realized it yet.)</h3><p>Let me say something uncomfortable:</p><p><strong>If you’re still only doing SEO in 2026, you’re already behind.</strong></p><p>Not slightly behind.<br><strong>Fundamentally behind.</strong></p><p>Because the way people discover information has changed — permanently.</p><h3>🔍 The Shift Nobody Is Talking About (Enough)</h3><p>For 20+ years, search worked like this:</p><ul><li>You typed a query</li><li>You got a list of links</li><li>You clicked, compared, decided</li></ul><p>That was the entire internet economy.</p><p>But now?</p><p>You ask a question… and you get <strong>a direct answer.</strong></p><p>No 10 blue links.<br>No endless scrolling.<br>No comparison.</p><p>Just:</p><blockquote><em>“Here’s what you need to know.”</em></blockquote><p>Powered by AI.</p><h3>⚠️ The Brutal Reality</h3><p>AI doesn’t rank websites.</p><p>It doesn’t care about:</p><ul><li>Meta tags</li><li>Backlinks</li><li>Keyword density</li></ul><p>It cares about one thing:</p><p>👉 <strong>Which content deserves to be used as the answer.</strong></p><p>That’s a completely different game.</p><h3>📉 What This Means for SEO</h3><p>SEO isn’t dead.</p><p>But its dominance is.</p><p>Traditional SEO optimized for:</p><ul><li>Clicks</li><li>Rankings</li><li>Traffic</li></ul><p>AI search optimizes for:</p><ul><li><strong>Selection</strong></li><li><strong>Extraction</strong></li><li><strong>Citation</strong></li></ul><p>You’re no longer competing for position #1.</p><p>You’re competing for:</p><blockquote><em>“Will the AI even use this?”</em></blockquote><h3>🧠 Welcome to GEO (Generative Engine Optimization)</h3><p>GEO = optimizing your content so AI systems:</p><ul><li>Understand it</li><li>Trust it</li><li>Select it</li><li>Use it in answers</li></ul><p>Think of it like this:</p><p>Old WorldNew WorldRank on GoogleBe used by AIKeywords matterContext mattersBacklinks matterCredibility mattersCTR mattersInclusion matters</p><h3>💡 A Simple Example</h3><p>Search:</p><blockquote><em>“Best frontend framework in 2026”</em></blockquote><p>Old behavior:</p><ul><li>You click multiple blogs</li><li>Compare</li><li>Decide</li></ul><p>New behavior:<br> You ask ChatGPT or another AI…</p><p>And it tells you the answer instantly.</p><p>Now ask yourself:</p><p>👉 Did your blog get clicked?<br> 👉 Or was it just used silently?</p><h3>🔥 The Silent Traffic Kill</h3><p>Here’s the scary part:</p><p>You might still be getting traffic.</p><p>But <strong>you’re already losing influence.</strong></p><p>Because AI is:</p><ul><li>Reading your content</li><li>Using your insights</li><li>Not sending you users</li></ul><h3>📊 The Real Metric Has Changed</h3><p>Old KPI:<br> 👉 Organic traffic</p><p>New KPI:<br> 👉 <strong>AI visibility</strong></p><p>Start asking:</p><ul><li>Is my content being cited by AI?</li><li>Is my brand mentioned in answers?</li><li>Am I shaping responses or just feeding them?</li></ul><h3>🧭 Why This Shift Matters</h3><p>This is not a trend.</p><p>This is:</p><ul><li>How developers learn</li><li>How buyers research</li><li>How decisions are made</li></ul><p>If your content is not part of AI answers:</p><p>👉 You don’t exist in the new internet.</p><h3>⚡ My Take</h3><p>Most teams are still:</p><ul><li>Writing keyword blogs</li><li>Tracking rankings</li><li>Celebrating impressions</li></ul><p>While completely ignoring:</p><p>👉 Whether AI is even using their content</p><p>That gap?</p><p><strong>That’s the biggest opportunity right now.</strong></p><h3>🚀 What Comes Next</h3><p>In the next article, I’ll break down:</p><p>👉 Exactly how to do GEO</p><ul><li>How to structure content for AI</li><li>How to become “answer-worthy”</li><li>How to make AI pick you</li></ul><p>And then:</p><p>👉 Deep dives into each tactic so you can actually implement it.</p><h3>🧠 Final Thought</h3><p>SEO helped you get discovered.</p><p><strong>GEO will decide if you get remembered.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0883f814cd48" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Zomato’s MCP Server: The AI Bridge Changing How We Order Food Forever]]></title>
            <link>https://sahilv04.medium.com/zomatos-mcp-server-the-ai-bridge-changing-how-we-order-food-forever-e1419393d66d?source=rss-e81f6b0ce0e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1419393d66d</guid>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[zomato]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Sahil Verma]]></dc:creator>
            <pubDate>Thu, 06 Nov 2025 17:37:34 GMT</pubDate>
            <atom:updated>2025-11-06T17:37:34.285Z</atom:updated>
            <content:encoded><![CDATA[<p>How Model Context Protocol (MCP) is redefining intelligent automation — and why Zomato’s integration might just be the future of conversational commerce.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*STZ-cQ6eWZmhEj9mBrDBeQ.jpeg" /></figure><h3>🍴 Introduction: When AI Meets Appetite</h3><p>Imagine asking your favorite AI assistant — “Find me a great butter chicken roll near me under ₹300” — and within seconds, it browses restaurants, filters reviews, adds items to your cart, and gives you a payment link.<br> You don’t open an app. You just talk.</p><p>That’s what Zomato’s <strong>MCP (Model Context Protocol) server</strong> is designed to do — it’s the invisible intelligence that connects AI models like ChatGPT or Claude directly to real-world data and actions.</p><h3>🧠 What Exactly is an MCP Server?</h3><p>At its core, an <strong>MCP server</strong> acts as a <strong>bridge between AI systems (like ChatGPT, Claude, or Gemini)</strong> and external services or data.</p><p>Think of it like a translator that lets AI talk to real-world APIs in context.<br>Instead of the AI just <em>knowing</em> things, it can <em>do</em> things.</p><ul><li>Want to book a table? MCP calls Zomato’s booking API.</li><li>Need to order a meal? MCP fetches menus, applies filters, and executes actions.</li><li>Curious about reviews or delivery times? MCP queries real-time data.</li></ul><p>In simple words: <strong>MCP = the muscle behind AI’s brain.</strong></p><h3>🍕 Zomato’s MCP Server: A New Kind of Integration</h3><p>While Zomato hasn’t officially announced a “consumer-facing” MCP rollout, developers and early adopters have begun experimenting with community integrations.<br> One such experiment — the <strong>Zomato MCP Server</strong> — showcases exactly how an AI system can act as your food concierge.</p><p>Here’s what it enables:<br> ✅ Querying real-time restaurant data.<br> ✅ Filtering by price, cuisine, distance, or rating.<br> ✅ Adding items to cart or generating order links.<br> ✅ Personalized suggestions based on preferences.</p><p><strong>Example flow:</strong></p><blockquote><em>User: “Order sushi under ₹600 with top reviews.”</em></blockquote><blockquote><em>AI (via Zomato MCP): Fetches data → Filters top-rated sushi places → Returns an interactive choice → Confirms payment link.</em></blockquote><p>No manual search. No app-switching. Just conversational ordering.</p><h3>⚙️ How It Works Behind the Scenes</h3><ol><li><strong>AI Assistant</strong> sends your natural-language request.</li><li><strong>MCP Server</strong> interprets it, maps it to API calls.</li><li><strong>Zomato’s API</strong> returns structured responses.</li><li><strong>AI summarizes</strong> it conversationally.</li></ol><p>This 4-step dance is why MCP is being called the <strong>“middleware of the AI age.”</strong></p><h3>💡 Why It Matters</h3><p>This isn’t just about ordering food — it’s about <strong>how AI interacts with the digital world</strong>.<br>MCP means:</p><ul><li><strong>Zero-app friction:</strong> your AI assistant becomes your interface for everything.</li><li><strong>Personalization:</strong> AI knows your tastes, location, and context.</li><li><strong>Speed:</strong> faster decisions, fewer taps, more action.</li></ul><p>Imagine extending this to <strong>Swiggy, Uber, IRCTC, or Amazon</strong> — all through conversational MCP bridges.</p><h3>🚀 The Viral Potential</h3><p>Zomato has always been a trendsetter — from witty tweets to bold tech moves.<br>By enabling MCP integrations, it’s stepping into <strong>AI-first commerce</strong>, where decisions are conversational and seamless.</p><p>If done officially, Zomato could become the <strong>first food tech brand to truly “speak AI.”</strong></p><h3>🧭 What’s Next?</h3><ul><li>Open-source MCP adapters for developers.</li><li>AI concierge experiences built inside messaging platforms.</li><li>Multi-service orchestration (combine Zomato + Maps + Paytm).</li></ul><p>The question isn’t <strong>if</strong>, it’s <strong>when</strong> this becomes mainstream.</p><h3>🔥 Final Thought</h3><p>The Zomato MCP story isn’t just about food — it’s a preview of a future where <strong>AI agents do our bidding</strong> across every service.</p><p>Next time you’re hungry, your assistant might already be scrolling Zomato for you.<br>Welcome to the <strong>Era of Contextual AI Commerce.</strong></p><p>#AI #Zomato #MCP #TechInnovation #ArtificialIntelligence #FutureOfCommerce #ChatGPT #ClaudeAI #Automation #ZomatoMCP</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1419393d66d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Earned My AWS Certified AI Practitioner Certification]]></title>
            <link>https://sahilv04.medium.com/how-i-earned-my-aws-certified-ai-practitioner-certification-c3b0b306df05?source=rss-e81f6b0ce0e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3b0b306df05</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-neural-network]]></category>
            <dc:creator><![CDATA[Sahil Verma]]></dc:creator>
            <pubDate>Wed, 09 Oct 2024 07:35:26 GMT</pubDate>
            <atom:updated>2024-10-09T07:35:26.800Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qLbqeBPX2voS3TVrtrWblQ.jpeg" /></figure><p>As someone passionate about technology, particularly in the field of artificial intelligence, earning the AWS Certified AI Practitioner certification was a key milestone in my journey. Let me walk you through the steps that led me to achieve this certification.</p><ol><li><strong>Setting the Goal</strong><br>Coming from a background as a React developer, I was intrigued by the growing demand for AI and machine learning expertise. AWS is one of the leading cloud platforms for AI/ML solutions, so I set my sights on earning the AWS Certified AI Practitioner certification to strengthen my foundational knowledge in this domain.</li><li><strong>Understanding the Certification</strong><br>The AWS Certified AI Practitioner is designed for individuals who want to demonstrate their knowledge of AI and ML concepts and services provided by AWS. It’s ideal for beginners looking to understand the practical implementation of AI/ML on the cloud. I knew this certification would provide me with valuable insights into how AI/ML models are deployed, trained, and managed on AWS.</li><li><strong>Building a Study Plan</strong><br>To prepare effectively, I created a study plan, focusing on several key areas of the exam:<br><strong>- Machine Learning Fundamentals</strong>: Understanding basic machine learning concepts like supervised and unsupervised learning, neural networks, and key algorithms.<br><strong>- AWS AI Services</strong>: Exploring services like Amazon SageMaker, Rekognition, Polly, and Lex. I spent time learning their use cases and practical implementations.<br><strong>- AI/ML Use Cases</strong>: Familiarizing myself with how AI/ML solutions are being used in industries like healthcare, finance, and e-commerce.<br> <br> I used a combination of online tutorials, documentation, and hands-on labs on AWS. Platforms like AWS Skill Builder and A Cloud Guru were immensely helpful in offering both theoretical and practical knowledge.</li><li><strong>Hands-on Practice</strong><br>While theory is important, nothing beats real-world practice. I spent a significant amount of time working on AWS services like SageMaker, experimenting with various machine learning models, and deploying basic AI services. This hands-on experience made it easier to grasp how AI models are developed and operated on AWS infrastructure.</li><li><strong>Mock Exams and Practice Tests</strong><br>Practice makes perfect, and this was certainly true for my preparation. I took multiple mock exams to familiarize myself with the question format and the level of difficulty. AWS’s own practice tests, along with third-party resources, helped me identify weak areas and build confidence for the actual exam.</li><li><strong>Exam Day</strong><br>When the exam day finally arrived, I felt confident and prepared. The exam consisted of a mix of multiple-choice and multiple-response questions, testing my knowledge of AI/ML fundamentals and how they map to AWS services. Having already gone through mock tests, I was able to manage my time efficiently during the exam.</li><li><strong>Certification and Beyond</strong><br>Earning the AWS Certified AI Practitioner certification has opened up new opportunities for me. Not only has it deepened my understanding of AI/ML, but it has also given me the skills to leverage AWS’s powerful cloud services to build AI-driven applications. This certification complements my existing expertise as a developer and positions me for further growth in AI-driven projects.</li><li><strong>Final Thoughts</strong><br>This certification is a great starting point for anyone looking to enter the world of artificial intelligence, especially from a cloud-based perspective. For me, it was an exciting learning journey, combining both theory and practice, which is essential in today’s tech world.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3b0b306df05" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementing Micro Frontends with CRACO: React Host and Angular Remote]]></title>
            <link>https://sahilv04.medium.com/implementing-micro-frontends-with-craco-react-host-and-angular-remote-fd7a26d9fffa?source=rss-e81f6b0ce0e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd7a26d9fffa</guid>
            <category><![CDATA[craco]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[single-page-applications]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[micro-frontends]]></category>
            <dc:creator><![CDATA[Sahil Verma]]></dc:creator>
            <pubDate>Wed, 27 Sep 2023 16:51:37 GMT</pubDate>
            <atom:updated>2023-09-27T16:51:37.626Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*GNVYDDj1NoRDL9UYWgtyIA.png" /></figure><p>Micro frontends have gained significant popularity in recent years as a way to break down large, monolithic front-end applications into smaller, more manageable parts. This architectural approach allows teams to work independently on different parts of a web application, making it easier to scale, maintain, and deploy. In this article, we’ll explore how to implement micro frontends using CRACO, with a React host and an Angular remote.</p><h3>Understanding Micro Frontends</h3><p>Micro frontends are an extension of the microservices concept, applied to the front-end layer of a web application. Instead of building a single, monolithic front-end codebase, micro frontends allow you to split your user interface into smaller, self-contained parts, often developed by separate teams. Each part can be developed using different technologies and deployed independently.</p><p>There are several approaches to implementing micro frontends, including:</p><ol><li>iFrames: Each micro frontend is loaded as an iframe within the host application. While this approach provides strong isolation, it can lead to performance and security concerns.</li><li>Web Components: Micro frontends are built as web components, which can be used within the host application. This approach promotes reusability but may require some extra effort to achieve the desired level of isolation.</li><li>Server-Side Includes (SSI): The host application includes the micro frontends using server-side includes, where the server stitches together the different parts before rendering the final HTML. This approach provides control but may require more server-side logic.</li><li>In this article, we’ll focus on the iFrame approach with CRACO, which stands for “Create React App Configuration Override.” CRACO allows us to customize the configuration of a Create React App (CRA) project to integrate micro frontends.</li></ol><h3>Setting Up the React Host</h3><p>To begin implementing micro frontends with CRACO, you’ll first need to set up the React host application. If you don’t already have a React project, you can create one using CRA:</p><pre>npx create-react-app my-host-app cd my-host-app</pre><p>Now, you can install CRACO to customize the CRA configuration:</p><pre>npm install @craco/craco</pre><p>Next, create a craco.config.js file in your project root to override CRA&#39;s configuration. Here&#39;s a minimal example:</p><pre>// craco.config.js<br>module.exports = {<br>  webpack: {<br>    configure: {<br>      output: {<br>        // Ensure that the output is a single JavaScript file<br>        filename: &#39;static/js/main.js&#39;,<br>      },<br>    },<br>  },<br>};</pre><p>Now, your React host is set up to load micro frontends via iframes.</p><h3>Creating the Angular Remote</h3><p>For the Angular remote, you’ll need to create an Angular application. If you don’t have one already, you can generate a new Angular project:</p><pre>ng new my-remote-app cd my-remote-app</pre><p>In the Angular remote, you’ll expose the parts you want to use in the host application as custom elements (web components). You can achieve this using the Angular Elements library, which allows you to convert Angular components into web components.</p><p>Install Angular Elements:</p><pre>ng add @angular/elements</pre><p>Create your Angular component and convert it into a custom element:</p><pre>// src/app/my-component.component.ts<br>import { Component, Input, OnInit } from &#39;@angular/core&#39;;<br>import { createCustomElement } from &#39;@angular/elements&#39;;<br><br>@Component({<br>  selector: &#39;app-my-component&#39;,<br>  template: &#39;&lt;p&gt;Hello from Angular!&lt;/p&gt;&#39;,<br>})<br>export class MyComponentComponent implements OnInit {<br>  constructor() {}<br><br>  ngOnInit(): void {<br>    const element = createCustomElement(MyComponentComponent, {<br>      injector: this.injector,<br>    });<br>    customElements.define(&#39;app-my-component&#39;, element);<br>  }<br>}</pre><p>Build your Angular app:</p><pre>ng build --prod --output-hashing none</pre><h3>Integrating the Angular Remote into the React Host</h3><p>Now that you have your React host and Angular remote, you can integrate them. In your React host application, you can load the Angular remote component using an iframe:</p><pre>// src/App.js in your React host<br>import React from &#39;react&#39;;<br><br>function App() {<br>  return (<br>    &lt;div className=&quot;App&quot;&gt;<br>      &lt;h1&gt;Micro Frontends with CRACO&lt;/h1&gt;<br>      &lt;iframe title=&quot;Angular Remote&quot; src=&quot;http://localhost:4200&quot;&gt;&lt;/iframe&gt;<br>    &lt;/div&gt;<br>  );<br>}<br><br>export default App;</pre><p>Remember to replace the iframe src with the URL of your Angular remote application.</p><h3>Running the Applications</h3><p>To run both applications, start the React host:</p><pre>npm start</pre><p>And start the Angular remote:</p><pre>ng serve</pre><p>With this setup, your React host will load the Angular remote component within an iframe, effectively implementing a micro frontend architecture.</p><h3>Conclusion</h3><p>Implementing micro frontends using CRACO with a React host and an Angular remote is a powerful way to break down large front-end applications into smaller, manageable parts. This approach enables teams to work independently on different sections of a web application, promoting scalability, maintainability, and faster development cycles. By combining the strengths of React and Angular, you can leverage the best of both worlds in your micro frontend architecture.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd7a26d9fffa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementing Micro Frontends with Craco: A Guide to Scalable Web Development]]></title>
            <link>https://sahilv04.medium.com/implementing-micro-frontends-with-craco-a-guide-to-scalable-web-development-862bb538676e?source=rss-e81f6b0ce0e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/862bb538676e</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[micro-frontends]]></category>
            <category><![CDATA[craco]]></category>
            <category><![CDATA[single-page-applications]]></category>
            <category><![CDATA[scalability]]></category>
            <dc:creator><![CDATA[Sahil Verma]]></dc:creator>
            <pubDate>Wed, 27 Sep 2023 16:39:01 GMT</pubDate>
            <atom:updated>2023-09-27T16:39:01.602Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*X2v9IYj8zoNtTexlaaMaCA.png" /></figure><h3>Introduction</h3><p>In today’s fast-paced world of web development, the need for scalable and maintainable front-end solutions has never been greater. One approach gaining popularity is the use of micro frontends, a technique that allows teams to work independently on small, self-contained parts of a web application. In this article, we’ll explore how to implement micro frontends using Craco, a configuration utility for Create React App (CRA).</p><h3>Micro Frontends: A Brief Overview</h3><p>Micro frontends are an architectural approach that mirrors the principles of microservices for the front-end development world. Instead of building a monolithic front-end application, micro frontends divide the user interface into smaller, self-contained units, each managed by a separate team. These units can be developed, deployed, and tested independently, leading to greater flexibility, scalability, and faster development cycles.</p><h3>Craco: A Powerful Tool for Create React App</h3><p>Create React App (CRA) is a popular tool for setting up a React application quickly. However, CRA comes with a predefined configuration, making it challenging to customize your build pipeline. That’s where Craco (Create React App Configuration Override) comes in. Craco allows developers to extend or override CRA’s configuration without ejecting from it, maintaining the benefits of CRA while tailoring the build process to specific needs.</p><h3>Implementing Micro Frontends with Craco</h3><p>To implement micro frontends using Craco, follow these steps:</p><ol><li><strong>Create Multiple React Apps:</strong> Divide your application into smaller, self-contained React applications, each representing a distinct micro frontend. These can be created using CRA or any other preferred method.</li><li><strong>Install Craco: </strong>In each of the micro frontend projects, install Craco by running the following command:</li></ol><pre>npm install @craco/craco --save</pre><p>3. <strong>Create a Craco Configuration File:</strong> Create a craco.config.js file in the root of each micro frontend project. This file will contain the configuration overrides for Craco. Here&#39;s a basic example:</p><pre>// craco.config.js<br>module.exports = {<br>  // Customize your Craco configuration here<br>};</pre><p>4. <strong>Customize the Build Process: </strong>Customize the Craco configuration for each micro frontend to meet its specific requirements. You can adjust webpack settings, add plugins, and configure other build-related options. This customization ensures that each micro frontend can be built independently.</p><p>5. <strong>Integration:</strong> To integrate these micro frontends into a single application, you have several options:</p><ul><li><strong>Server-Side Includes (SSI):</strong> Use server-side technologies like Nginx or Apache to include the micro frontends at runtime.</li><li><strong>Client-Side Routing:</strong> Use a client-side routing library like React Router to load micro frontends dynamically based on the route.</li><li><strong>iFrames:</strong> Embed the micro frontends within iframes, although this approach has some limitations and may require additional communication mechanisms.</li></ul><h3>Benefits of Using Craco for Micro Frontends</h3><ol><li><strong>Maintainability:</strong> Craco allows you to keep each micro frontend project self-contained, making it easier to manage and maintain codebases.</li><li><strong>Independence:</strong> Teams can work on micro frontends independently, enabling faster development cycles and reducing coordination overhead.</li><li><strong>Scalability:</strong> As your application grows, you can scale individual micro frontends without impacting the entire system.</li><li><strong>Flexibility:</strong> Craco provides the flexibility to customize the build process for each micro frontend, ensuring that specific requirements are met.</li></ol><h3>Conclusion</h3><p>Implementing micro frontends using Craco is an effective way to scale and maintain complex web applications. By dividing your application into smaller, manageable parts, you can achieve greater flexibility and agility in your development process. Craco empowers you to customize your build pipeline while harnessing the benefits of Create React App, making it a valuable tool for modern web development. Start exploring the world of micro frontends and revolutionize your approach to building web applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=862bb538676e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a simple and scalable Static Site with Next.JS and Contentful CMS]]></title>
            <link>https://sahilv04.medium.com/creating-a-simple-and-scalable-static-site-with-next-js-and-contentful-cms-c9c6e4df572f?source=rss-e81f6b0ce0e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9c6e4df572f</guid>
            <category><![CDATA[static-site]]></category>
            <category><![CDATA[contentful]]></category>
            <category><![CDATA[static-site-generation]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[static-site-generator]]></category>
            <dc:creator><![CDATA[Sahil Verma]]></dc:creator>
            <pubDate>Wed, 29 Sep 2021 18:09:52 GMT</pubDate>
            <atom:updated>2021-10-11T07:51:07.571Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*nRi-fZ2GKFNlLSX6NBXv6Q.png" /></figure><p><strong>First things first, what is the tech stack and why do we use it?</strong></p><ol><li><a href="https://nextjs.org/">Next.JS</a> is a React framework developed by <a href="https://vercel.com/">Vercel</a> that <strong>enables several extra features, including server-side rendering and generating static SEO friendly websites</strong>. We would be using <em>11.1.0</em> as our main framework.</li><li><a href="https://vercel.com/">Vercel</a> is a <strong>platform for static sites and frontend frameworks</strong>, built to integrate with your headless content, commerce, or database.</li><li><a href="https://www.contentful.com/">Contentful</a> is the <strong>platform where you can update the content of your website, a mobile app or any other platform that displays content</strong>.</li></ol><h3>Let’s start</h3><p><strong>Step 1. Create your account and a space</strong></p><p>First of all, <a href="https://www.contentful.com/sign-up/">create an account on Contentful.</a> For now, you can go for a free trial version.</p><p>Create a new empty area from the dashboard once you’ve created an account and give it whatever name you choose.</p><p><strong>Step 2. Setup your content model and types</strong></p><p>The data structures of your application/websites are defined by the content model. The structures are adaptable, allowing you to customize them to your requirements.</p><p>Create a content model that defines an author and a post content type for this example:</p><ul><li>Create a content type called Author.</li><li>Go to the content model and add a new content type from your contentful space.</li><li>Give it the name <strong>Articles</strong>, and make the API Identifier <strong>articles</strong>.</li></ul><p>Add below fields to your newly created content type:</p><ul><li>Title - <strong>Text</strong> field (type short text)</li><li>Content - <strong>Rich text</strong> field</li><li>Cover - <strong>Media</strong> field (type one file and validation to be only one file time i.e “Image”)</li><li>Publish Date- <strong>Date</strong> <strong>and time</strong> field</li><li>Author - <strong>Text</strong> field (type short text)</li></ul><p>Continue after saving the content type.</p><p><strong>Step 3. Publish Content</strong></p><p>Go to the <strong>Content </strong>page from navigation bar and create 3 records for the content type Article. Use dummy data for Content, and a dummy image and author name for Cover and Author fields respectively.</p><p><strong>Step 4. Get API keys and setup environment variables</strong></p><p>From your contentful space, go to Settings &gt; API keys, get your content delivery key. The content delivery key and space id will be used in your Next.JS application as environment variables in the .env file, which will be ignored by .gitignore, to fetch contentful data via Contentful <a href="https://www.contentful.com/developers/docs/references/content-delivery-api/">Content Delivery API</a>.</p><p><strong>Step 5. Setup </strong><a href="https://nextjs.org/"><strong>Next.JS</strong></a><strong> Application</strong></p><p>Run <a href="https://github.com/zeit/next.js/tree/canary/packages/create-next-app">create-next-app</a> with <a href="https://docs.npmjs.com/cli/init">npm</a> or <a href="https://yarnpkg.com/lang/en/docs/cli/create/">Yarn</a> to create a new <strong>Next.JS </strong>application.</p><p>Since we are creating a static site here. So, once your Next.JS application is ready, create a new page and fetch the records by using the <a href="https://nextjs.org/docs/basic-features/data-fetching#getstaticprops-static-generation">getStaticProps</a> function of Next.JS, and display these records on the page in tabular format.</p><p><strong>Step 6. Deploy on Vercel and setup webhook</strong></p><blockquote>Vercel is the simplest way to deploy a production-ready, highly available Next.js website, with static assets served automatically through the CDN and built-in support for Next.js’ automatic static optimization and API routes. Deploy Webhooks allow you to create URLs that accept HTTP POST requests in order to trigger deployments and re-run the <a href="https://vercel.com/docs/concepts/deployments/build-step">Build Step</a>.</blockquote><p>The project should then be pushed to GitHub/GitLab/Bitbucket and imported into Vercel for deployment. You can directly set the environment variables while deploying the application using the <a href="https://nextjs.org/docs/deployment#vercel-recommended">official documentation</a>.</p><p>Now, get a deploy webhook from <a href="https://vercel.com/docs/concepts/git/deploy-hooks">vercel</a> and go to your contentful application.</p><p>On the contentful application navigate to <a href="https://app.contentful.com/">Contentful</a> &gt; Settings &gt; Webhooks. From the Webhook Templates, add a webhook for <strong>Vercel</strong>, enter the webhook URL copied from vercel to this webhook and submit.</p><p>This webhook will now trigger the static site generation and deployment on vercel whenever you publish new content on contentful.</p><p>And here we have, a powerful blog generated in few hours and ready to scale up your business.</p><p>Using the <a href="https://www.contentful.com/developers/docs/compose/what-is-compose/">Compose</a> app with Contentful, which we may cover in future articles, makes creating pages even easier.</p><p>All the best!</p><p>Thank you for reading</p><p><em>Sahil</em></p><blockquote>Credits:</blockquote><blockquote><a href="https://www.contentful.com/">https://www.contentful.com/</a></blockquote><blockquote><a href="https://vercel.com/">https://vercel.com/</a></blockquote><blockquote><a href="https://nextjs.org/">https://nextjs.org/</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9c6e4df572f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>