DEV Community

Ahmed Gamal
Ahmed Gamal

Posted on

1 2

How to Deploy Node.js and MongoDB easily?

Deploying web apps with database isn't an easy task at all specifically when you want your app to load smoothly and fast and also be scalable. So in this guide you'll learn how to deploy your web app easily on the cloud.

1. Create Account on DPLYR

DPLYR is the tool we're using today. To create an account go to https://dplyr.dev
DPLYR front page

2. Create a VM on your favourite cloud services provider

Choose the cloud provider you love. I found that DPLYR has made a complete guide on how to create a VM on AWS EC2 Here it's

3. Fill the new deployment form

When you sign in you'll find yourself in your home page where you can find your past deployments click on the new deployment button and fill the form fields note that if you used the DPLYR VM guide you won't need to fill the username field. Choose the technology "Node.js" and the database "MongoDB" the database username password are the ones you used in your connection string pick whatever you want. In the project URL field put the git repo containing your web app link.
DPLYR form page

4. VOILA!!! the website is now deployed

DPLYR magically deploys your app and gives you the link of the website

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more