Create heroku server
Create a new heroku server with mongodb DB at mLab
This step is optional but you need a MongoDB server to continue
1 - Create a new app
https://dashboard.heroku.com

2 - Add Mlab Add-ons
inside heroku, go to resources tab and add a new Add-ons, look for mLab MongoDB

3 - Create a new DB user
open mlab from heroku and create a new DB user

4 -Update "mongodb" url inside config file
open config\default.json update "mongodb": "mongodb://<dbuser>:<dbpassword>@ds223685.mlab.com:62685/heroku_djwq7vg7" * don't forget to replace <dbuser> and <dbpassword"
git add .
git commit -m "Update mongodb url"
Last updated
Was this helpful?