How to Setup Your MERN App for Deployment

Sahan Amarsha
7 min readMay 27, 2020

What you need to consider before deploying your MERN App.

Most programmers including me 😅, when it comes to deploying your web application, they are just too exhausted with all the development process. They just want to get rid of that project and be done with it. But I did my research and finally learned the art of deploying. As a developer, you must know that getting your project ready for deployment might take some doing.

In this medium post, I will discuss the steps that you need to consider before deploying your web application. These steps can be applied to your web app, so it will enhance your product.

Want to read this story later? Save it in Journal.

First of all, I will introduce the steps.

01. Testing your code

02. Swapping URLs and credentials

03. Implementing lazy loading

04. Adding .gitignore

05. Choosing the Hosting Platform

Let’s discuss each of these steps one by one.

01. Testing Your Code

Test! Test! Test! Don’t worry, I’m not going to talk about 100 different ways that you…

--

--