Member-only story

Deploy React-Node.js Application in a Virtual Machine

A step-by-step guide to deploying a full stack application in Ubuntu

Yasas Sandeepa
Better Programming
18 min readAug 24, 2022

Deploy MERN Stack Application (Image by Author)

As full-stack developers, we build new applications. It’s always fun and existing that make an app from scratch, designing the architecture, brainstorming, coding, testing, and bug fixing.

So as the next step, we need to deploy our application to make it available to the public. In most cases, we got stuck at this point as there are no proper DevOps practices we are aware of.

So from this article, I’m bringing you a step-by-step guide to deploying your full stack application. Also, I’m willing to reveal the best practices when deploying the application.

Hence, you will not only get the knowledge to deploy an app but also production best practices, performance, and reliability.

Concepts of Deploying the Application

You can do anything if you understand the concept of it. It doesn’t matter whether the app is in React or Angular. Concepts will be the same. So before moving to deployment, let’s understand the basics.

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Written by Yasas Sandeepa

An energetic highly motivated Tech Enthusiastic. First-Class Honours | BSc (Hons) in Information Technology | University of Moratuwa✨Web: bit.ly/yasas4d

Responses (5)

What are your thoughts?

But what about the available limit of in-session memory and overall storage available under your free plan ? And is there any notification bars available which you can check easily within the virtual machine set up ?
Your input is highly appreciated

Hi, How to implementing this into azure pipeline

Hi, Awesome article and helped me a lot. I have one issue though. When I access /api it calls the localhost:3000/api on my VM, while I need it to call localhost:3000/.
Any suggestions?