MongoDB

Installation


Visit https://cloud.mongodb.com to sign up and login to MongoDB.
The CS MongoDBAtlas video shows how to:

The current Atlas interface removed the "Deployment" menu. To access the "Connect", "View Monitoring", and "Browse Collections" panel, select "Clusters" under "Database".

The above video does not go over how to get the URL you need to connect from a Node.js application. To get this information from Atlas:

  1. Select "Clusters" under "Database"
  2. Select "Connect" next to "Cluster0"
  3. Under "Connect to your application" select "Drivers"
  4. In item #1, under "Driver" select "Node.js"
  5. If you scroll down you will see a section with the heading "Add your connection string into your application code". That represents the string you need to connect to your database (once you replace <password> with the appropriate password).

Remember that you don't need to pay anything; we are using the free option.

Additional Information

Web Accessibility