Skip to content

Instantly share code, notes, and snippets.

@khriztianmoreno
Created August 22, 2019 12:23
Show Gist options
  • Save khriztianmoreno/0930a68d4e02a21f1bdba1ed8e26a924 to your computer and use it in GitHub Desktop.
Save khriztianmoreno/0930a68d4e02a21f1bdba1ed8e26a924 to your computer and use it in GitHub Desktop.
MongoSetup

Mongo Local Setup

Typical Mongo Service Route

mongodb://localhost:27017/pet-library

Installing mongo

brew install mongodb

Checking your services

brew services list

Starting the mongo service

brew services start mongodb

Connecting to the shell

mongo

IDE Plugins

mLab

  1. Goto mLab
  2. Create an account
  3. Create a sandbox database.
  4. Create user for the database: test with password1
  5. Copy the database connection:
mongodb://<username>:<password>@ds215089.mlab.com:15089/pet-library
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment