<?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 Sachyam Dhungana on Medium]]></title>
        <description><![CDATA[Stories by Sachyam Dhungana on Medium]]></description>
        <link>https://medium.com/@sachyamdh?source=rss-20de13d785ac------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*19C-hv0QVN1Xbl1C</url>
            <title>Stories by Sachyam Dhungana on Medium</title>
            <link>https://medium.com/@sachyamdh?source=rss-20de13d785ac------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 06:05:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sachyamdh/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[MERN Stack for Beginners: Building Your First Blog Website. Part 1]]></title>
            <link>https://medium.com/@sachyamdh/mern-stack-for-beginners-building-your-first-blog-website-part-1-710871ce072b?source=rss-20de13d785ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/710871ce072b</guid>
            <dc:creator><![CDATA[Sachyam Dhungana]]></dc:creator>
            <pubDate>Mon, 01 Jul 2024 18:28:46 GMT</pubDate>
            <atom:updated>2024-07-01T18:28:46.398Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>Getting to Know MERN and why it is used to build the websites.</em></strong></p><p>By the end of this series, a beginner should be able answer what MERN is and why MERN stack is used in this project. Along with this the viewer should be able to build a Blog website using MERN.</p><p><strong>What is MERN stack?<br></strong>MERN is an acronym used in web development. Every element in MERN stands for a specific technology and has their own specific role in building the website. The roles are described below:</p><p><strong>M-MongoDB: </strong>MongoDB is a noSQL database system which stores data in json format. For a blogging platform MongoDB’s strength lies in its schema-less nature. For beginners, who don’t have the necessary experience to identify the necessary relation and scale required for the project, MongoDB is ideal database to be used. As MongoDB does not require a predefined schema , developers can easily change their data models and accommodate unforeseen relations.Along with this if the clients increase, you can easily add more servers to handle the increased traffic.</p><p><strong>E-Express.js: </strong>This is a lightweight framework that is built on top of NodeJS. ExpressJS simplifies the web building process for handling the incoming and outgoing responses. ExpressJS handles the tasks such as routing user requests, interacting with MongoDB and sending data to the frontend in this case React. Express.js is a minimal framework built on Node.js, which excels at handling multiple connections simultaneously. This isideal for a blog website that might have many users reading or commenting at once. As express is a minimal framework allowing for customization.<br> <strong><br>R-React.js: </strong>React is a popular JavaScript library developed by Facebook which is used for building UI.React uses reusable components to structure your blog website’s frontend. Components refer to anything such as navigation Bar, buttons and so on. As React uses a virtual DOM to to optimize updates to the real DOM. This means that only the parts of the UI that actually change are re-rendered, making blog pages feel more responsive and smooth. This makes it efficient.To learn more about virtual DOM, please visit the <a href="https://www.geeksforgeeks.org/reactjs-virtual-dom/">link</a></p><p><strong>N-Node.js: </strong>Node.js is an open run time environment that allows us to run JS code outside of the browser. Node acts as the foundation for the entire MERN stack. This enables features like handling server requests, database communication, and powering the Express.js web framework in our blog website.</p><p>All of the elements in MERN stack use JavaScript, this simplifies development. We can write frontend and backend code with similar logic using the same syntax. This eliminates the need to learn and switch between different languages simplifying the development and maintenance. Along with this MongoDB’s and JavaScript&#39;s asynchronous nature make MERN suitable for building dynamic website with growing traffic as it can handle increased traffic.With asynchronous operations, the server doesn’t have to wait. It can kick off the process of fetching data from MongoDB and immediately send a basic response to the user’s browser while it continues working on the full response in the background. This gives the user the impression of a faster loading time, even if data retrieval takes a moment.</p><p><strong><em>To learn more about the async nature Express React and others please visit the links below:<br></em></strong><a href="https://www.geeksforgeeks.org/asynchronous-javascript/?ref=ml_lbp"><em>Async JS</em></a><br><a href="https://react.dev/learn"><em>React.js</em></a><em><br></em><a href="https://expressjs.com/en/starter/hello-world.html"><em>Express</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=710871ce072b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>