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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.