Deploying a MERN (Mongo Express React Node) stack web app on to Heroku
Chandra Lindy
343

Thanks! After adding mLab as a resource to a Heroku app, Heroku adds the mLab URL to config vars at the key MONGODB_URI so you can access it like process.env.MONGODB_URI || http://localhost/test in your code before deploying too :)

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.