Node.js

So I am slowly slowly trying to learn Node.js and so far the main issue that has held me back is trying to jump right in and use a mean stack when I am not familuar with the frameworks that are included such as Express.js, Angular.js and Mongo DB. So now I am going to try and do things in a more simple approach and build up my knowledge from the ground up.

First off I have started back at codeschool with http://node.codeschool.com/

I have now followed the tutorial below and love the way that the code is commented:

http://scottksmith.com/blog/2014/05/02/building-restful-apis-with-node/

I have also found the following articles that all seem to be the similar..if not the same.

http://scotch.io/tutorials/javascript/build-a-restful-api-using-node-and-express-4

http://www.sitepoint.com/creating-restful-apis-express-4/

What I am hoping to achieve from this is to create a restful web app that I can then extend using Angular.js as a seperate app that will talk to my api. I will hope to get an app up in the next few months.

The bit that I have so far come to a halt with is being able to upload an image to the api in its purest form.

Getting a little closer with the following video on streams in node:

http://tagtree.tv/intro-to-node-streams

Tools of the trade

When creating a new node.js application you wont want to be constantly stopping and starting your app when you make changes so you could use the awesome nodemon tool like so:

In terminal:

npm install -g nodemon

nodemon appname
Tagged as: javascript | node.js