Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Latest commit

 

History

History
37 lines (19 loc) · 988 Bytes

MongoDBGuide.md

File metadata and controls

37 lines (19 loc) · 988 Bytes

Setting up MongoDB

  1. Sign in or create an account for MongoDB.

  2. Create a database, choosing the "shared" option is recommended.

    image

    image

  3. Make a user, you will need these credentials later.

    image

  4. Add your own, or every IP address to the network access.

    image

  5. Once the cluster has been deployed, click the connect button on it.

    image

  6. Choose the "Connect your application" option.

    image

  7. Now copy the URL.

    image

Be sure to replace exampleUser and <password> with the values from step 3.

For instance, in this example the final URL would be:

mongodb+srv://exampleUser:[email protected]/?retryWrites=true&w=majority

Now you can paste the URL into config.json, done!