Today I finished Peepcode’s Full-Stack Node.JS Part 1. The tutorial walks through setting up a hypothetical bakery web-app, while covering the following topics:
The tutorial is a great supplement to my work in the Dynamic Web Development class at ITP. Here’s a couple things I picked up going through the tutorial:
Organizing routes into individualized “mini-app” directories is more precise and manageable than keeping everything in my server.js file.
I should also note 2 spaces is equal to 1 indent for both CoffeeScript and Jade. This can be easily set in Sublime Text 2 in View > Indentation > Tab Size.
Standard helpers and dynamic helpers are explained well, from setting up the templates to the routes.
It was very helpful to build another webapp from the ground up and with the guidance of such a thoughtful walkthrough. I have already ordered Full-Stack Node.JS Part 2, and I will start tomorrow.