Question

MERN app deployment with mongodb atlas

Posted July 27, 2021 134 views
MongoDBNode.jsDeploymentReact

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

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.

×
Submit an Answer
1 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

by Ojini Chizoba Jude
The MERN stack consists of MongoDB, Express, React / Redux, and Node.js. The MERN stack is one of the most popular JavaScript stacks for building modern single-page web applications.