Full-Stack Web Development with Vue.js and Node

(singke) #1
Going Live Chapter 10

Here, we are specifying the local MongoDB URL that will not work when we host our
application in Heroku. For this, we can use a tool called mLab. mLab is a Database as a


service tool for MongoDB. mLab allows us to create as many databases as we want for a


sandbox database.


Let's go ahead and create an account on https:/​/​mlab.​com/​. Once you are logged in, click


on the Create new button to create a new database:


We can choose any cloud provider we want. Choose the plan type as Sandbox and click


on CONTINUE. Choose any region and then click on CONTINUE and add the database


name you want for the application. Finally, click on Submit Order:

Free download pdf