Skip to content

Unable to connect to DB on mLab #286

Description

@go-green

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
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions