Hi,
I have a MongoDB database installed on Digital Ocean along with a Node.JS app that is using it.
In the configuration file for the Node.JS app, it's referring to localhost in the connection string, so it only works in production and not when I'm needing to update the app from my development machine.
Therefore I have installed MongoDB locally on my laptop (running Ubuntu) and I need to make a database dump for the MongoDB database on Digital Ocean and then restore it on my development machine's version of MongoDB.
I have limited experience with this so need some help from someone who knows what to do.
So, you need to:
1) Help me dump the database on digitalocean and get the file
2) Tell me what command to enter on my laptop to restore the database
3) Tell me what to write in my configuration file in my Node.JS app to access the development version of the database.
Thanks