CHAPTER 6

image

Intro to Node.js

Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

Martin Fowler

In this chapter, we’ll cover the following:

  • Building “Hello World” in Node.js
  • Node.js Core Modules
  • npm Node Package Manager
  • Message Board with Node.js: Memory Store Version
  • Unit Testing Node.js

Node.js is a non-blocking platform for building web applications. It uses JavaScript, so it’s a centerpiece in our fullstack JavaScript development. We’ll start with Hello World and cover core modules and npm. Then, we deploy our Hello World app to cloud.

Building “Hello World” in Node.js

Supplemental ...

Get Full Stack JavaScript: Learn Backbone.js, Node.js and MongoDB, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.