I want to deploy this locally and followed the instructions. I got stuck where I have to create a DB on mLab and connect to it. I got the API key, but unable to find the URL similar to "dbUrl: 'https://api.mongolab.com/api/1" from mLab. They have two ways to connect apparently, using mongo shell and Mongo DB URI. nothing starts with HTTPS://..... Secondly, what is a user collection and how can I create a one from mLab?
mongo: {
dbUrl: 'https://api.mongolab.com/api/1', // The base url of the MongoLab DB server
apiKey: 'YOUR_API_KEY_HERE', // Our MongoLab API key
},
security: {
dbName: 'YOUR_DB_NAME_HERE', // The name of database that contains the security information
usersCollection: 'users' // The name of the collection contains user information
},
I want to deploy this locally and followed the instructions. I got stuck where I have to create a DB on mLab and connect to it. I got the API key, but unable to find the URL similar to "dbUrl: 'https://api.mongolab.com/api/1" from mLab. They have two ways to connect apparently, using mongo shell and Mongo DB URI. nothing starts with HTTPS://..... Secondly, what is a user collection and how can I create a one from mLab?
mongo: { dbUrl: 'https://api.mongolab.com/api/1', // The base url of the MongoLab DB server apiKey: 'YOUR_API_KEY_HERE', // Our MongoLab API key }, security: { dbName: 'YOUR_DB_NAME_HERE', // The name of database that contains the security information usersCollection: 'users' // The name of the collection contains user information },