How Do I Set Up The MEAN (Mongo, Express, Angular & Node) stack on Nitrous.IO

Mutuelinvestor picture Mutuelinvestor · Dec 6, 2013 · Viewed 7.7k times · Source

I using the upcoming weekend to check two things off of my 2013 project list:

  • Give Cloud Development A Try
  • Try ANGULAR.JS

My game plan is to set up the MEAN stack on Nitrous.IO and then use the stack to complete one of the many Angularjs tutorial projects available online.

Questions:

  1. I'd be interested in hearing if anyone has set up the MEAN stack on Nitrous or otherwise or if anyone is aware of any good blog post that go through the process for someone with little to no javascript development experience.

  2. Also, if you have setup a MEAN stack are there any things you would do differently or are there any invaluable resources I should be aware of.

Some Resources I Found Useful:

I've been researching online for the past week and have uncovered some great resources, but it would be great to see what others have found or can suggest. Below are some links to some resources that I have come across that may be helpful to others:

  1. Building Angular Start-up Stack - Toronto Meetup Stream
  2. Egghead.io Offers some great Video tutorials on Angular
  3. Google's Angular site has a wealth of info.
  4. USC Linux User Group Youtube video on MEAN on Amazon AWS

Thanks in advance for any resources, insights or guidance.

Answer

Hector Correa picture Hector Correa · Dec 6, 2013

Since you are starting on JavaScript I would suggest that you start simple. For example

  1. Build a simple web site with Node.js and Express (no Angular, no Mongo).
  2. Deploy it to the cloud.
  3. Then add Angular and see how the structure changes when you use an MVC framework on the client side (e.g. your backend becomes a plain REST API).
  4. Then, play with Node.js and Mongo probably outside your simple Node/Express/Angular app to get the hand of a NoSQL database and database access from Node.js (the fact that everything is async brings some interesting challenges for beginners)
  5. Then integrate Mongo into your app.