While you can install your own instance on your computer, there services which offer database as a service. In this part of tutorial, you will learn how to use mLab.
connect( host='mongodb://<YOUR_USERNAME>:<YOUR_PASSWORD>@<DS_NUMBER>.mlab.com:<PORT_NUMBER>/<YOUR_DATABASE_NAME>' )Be noted that you need to replace the variable in the above string using your username and password, and the string provided in the previous step.
Resource created Friday 03 August 2018, 03:08:03 PM, last modified Monday 24 February 2020, 03:07:53 PM.