Skip to content

Instantly share code, notes, and snippets.

@eveporcello
Created March 24, 2019 03:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eveporcello/e80a90f39de3b63a9c20136536f477df to your computer and use it in GitHub Desktop.
Save eveporcello/e80a90f39de3b63a9c20136536f477df to your computer and use it in GitHub Desktop.
MongoSetup.md

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