(6/6) Mean Stack: Publish & deploy code in Heroku & MLab

Deploy Your code on Cloud (Mlab & Heroku)

Once you done with your testing, next part to deploy your code on production. Before you need to check the various  Cloud service provider. List it down your requirement and check the with various could service provide and compare rates and services. Once all the comparison done next step tot start publish your app. In this example, I have used Mlab (database service provider) and HeroKu
(application service provider) that full fill my option and used there free service platform.

  • Create account on Mlab : https://mlab.com/signup/ 
  • Create free database on Mlab .500 GB. 
  • Create Collection 
  • Create User by providing user name and password. 


  1. Create Account Heroku
  2. Install Heroku toolbelt
  3. Open command prompt and start using Heroku toolbelt.
  4. gitHub also used for deployment as a part of Herokuu toolbelt.
  5. I used this documentation for deployment. For more details read about deployment https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction

To know about the whole deployment process please check my below video.

  • Mean Stack: Introduction to Mean Stack
  • Mean Stack: Setup Your machine
  • Mean Stack: NPM install dependency and Start Development 
  • Mean Stack: Angular & Mongodb connection
  • Mean Stack: Address Book App CURD Operation
  • Mean Stack: Publish & deploy code in Heroku &  MLab

  • Comments

    Popular posts from this blog

    (4/6) Mean Stack: AngularJs & Mongodb connection

    Mean Stack Address Book

    (5/6) Mean Stack: Address Book App CURD Operation