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
- Goto mLab
- Create an account
- Create a sandbox database.
- Create user for the database:
test
withpassword1
- Copy the database connection:
mongodb://<username>:<password>@ds215089.mlab.com:15089/pet-library