Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Foreword

Preface

Acknowledgments

About this book

About the author

Unit 0. Getting set up

Lesson 0. Setting up Node.js and the JavaScript engine

0.1. What you’re going to learn

0.2. Understanding Node.js

0.3. Why learn to develop in Node.js?

0.4. Preparing yourself for this book

Summary

Lesson 1. Configuring your environment

1.1. Installing Node.js

1.2. Installing a text editor

1.3. Setting up SCM and deployment tools

1.4. Working with the Node.js REPL in terminal

Summary

Lesson 2. Running a Node.js application

2.1. Creating a JavaScript file

2.2. Running your JavaScript file with Node.js

2.3. Running individual JavaScript commands

Summary

Unit 1. Getting started with Node.js

Lesson 3. Creating a Node.js module

3.1. Running npm commands

3.2. Initializing a Node.js application

Summary

Lesson 4. Building a simple web server in Node.js

4.1. Understanding web servers

4.2. Initializing the application with npm