Report this

What is the reason for this report?

MERN app deployment with mongodb atlas

Posted on July 27, 2021

Is there a step-by-step basic guide to follow for deployment of a simple MERN app using mongodb atlas? I am very new to digitalocean and I want to confirm if it can be used with mongodb atlas before I start to pay



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
0

Accepted Answer

Hi there @programui,

Yes, you would have root access to your Droplet so you will be able to make any configuration changes that you require.

Here is a step by step guide on how to get started with the MERN stack:

https://www.digitalocean.com/community/tutorials/getting-started-with-the-mern-stack

It uses a local MongoDB database, but all that you would need to do is skip the MongoDB installation and provide the connection details to your MongoDB atlas database.

Hope that this helps! Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.