<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: codenamu</title>
    <description>The latest articles on DEV Community by codenamu (@naknamu).</description>
    <link>https://dev.to/naknamu</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1078830%2F25552167-89bb-484b-8aec-dd10eb006143.jpeg</url>
      <title>DEV Community: codenamu</title>
      <link>https://dev.to/naknamu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/naknamu"/>
    <language>en</language>
    <item>
      <title>Empowering Creativity: Building the Ultimate Blogging Platform with MERN Stack</title>
      <dc:creator>codenamu</dc:creator>
      <pubDate>Mon, 08 May 2023 10:46:26 +0000</pubDate>
      <link>https://dev.to/naknamu/empowering-creativity-building-the-ultimate-blogging-platform-with-mern-stack-3njf</link>
      <guid>https://dev.to/naknamu/empowering-creativity-building-the-ultimate-blogging-platform-with-mern-stack-3njf</guid>
      <description>&lt;p&gt;Today, I would like to present to my fellow developers one of the milestones that I have accomplished. I am building my own blogging platform from scratch using the &lt;strong&gt;M&lt;/strong&gt;ongoDB, &lt;strong&gt;E&lt;/strong&gt;xpress, &lt;strong&gt;R&lt;/strong&gt;eact, and &lt;strong&gt;N&lt;/strong&gt;odejs (MERN) stack.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building the server API
&lt;/h2&gt;

&lt;p&gt;The first thing that I did was plan how to build it. &lt;/p&gt;

&lt;p&gt;After making sure that everything could be done with the skillset that I have, I began building the backend or server API that will fetch data from the database in MongoDB.&lt;/p&gt;

&lt;p&gt;I used NodeJS and Express to create the server API and the REST API architecture to design the routes and controllers. &lt;/p&gt;

&lt;h2&gt;
  
  
  Testing the routes
&lt;/h2&gt;

&lt;p&gt;To test the routes, I used &lt;a href="https://www.postman.com/"&gt;Postman&lt;/a&gt;. I'm grateful that Postman existed because it made it so easy to test the routes that I have developed. You can see if your routes are all working without creating the view or forms needed. Awesome, right?&lt;/p&gt;

&lt;h2&gt;
  
  
  Deploying to Production
&lt;/h2&gt;

&lt;p&gt;Anyway, after making sure that everything was working for my backend API, I deployed it to &lt;a href="https://railway.app/"&gt;Railway&lt;/a&gt;. For those who want to deploy a dynamic website, this is the best. &lt;/p&gt;

&lt;p&gt;Disclaimer: I'm not affiliated with Railway or anything. It's just that their pricing is so cheap and affordable for solo developers like me, who are totally broke. Also, deploying to Railway is so easy and fast. It took me just a couple of minutes to deploy my server API. For those who are curious, this is the backend of my blogging platform that I was talking about: &lt;a href="https://github.com/naknamu/blog-api"&gt;Blog API&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building the View
&lt;/h2&gt;

&lt;p&gt;Moving forward, I developed a separate website that will serve as the view of my blog using React. It is now responsive and looks good on all devices. Currently, only dummy data is available in the blog posts, as I have not written anything yet. You can check out the website here: &lt;a href="https://www.solodevhub.com/"&gt;solodevhub.com&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;This is how it looked in a tablet:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--uyOmQUrW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e0cwtgqxvbqmtsqwucty.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--uyOmQUrW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e0cwtgqxvbqmtsqwucty.PNG" alt="Screenshot of the blogging platform in a tablet" width="800" height="887"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But soon, I will be writing blogs that will tell my journey in software development. I will share tips and tricks that I have learned along the way. Also, I will share really good materials that will hopefully help those who are just in the beginning of their journey in web development and software development in general.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next?
&lt;/h2&gt;

&lt;p&gt;The next thing I will do is develop a separate website that will serve as the writer of my blog posts. I'm the only author of the blog, so I'll just be using &lt;a href="https://www.passportjs.org/"&gt;PassportJS&lt;/a&gt; along with &lt;strong&gt;Jason Web Tokens&lt;/strong&gt; (JWT) to authenticate and secure the site. I'm planning on building it using React again. &lt;/p&gt;

&lt;p&gt;When everything is completed, I will post another update here about my own blogging platform. If you have any questions or feedback, feel free to comment below! Thank you, everyone! &amp;lt;3&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>react</category>
      <category>node</category>
      <category>mongodb</category>
    </item>
  </channel>
</rss>
