Chapter 11

Introduction to Node.js

Key Skills & Concepts

   Introducing Node.js

   Installing Node.js

   Using Node Modules

   Installing a Database

   Creating a Web Server

So far in this book, you have been using browser-based JavaScript in order to add functionality to a Web page. In recent years, Node.js has come along and expanded the number of places where JavaScript can be used. Not only can you use it for browser-based applications, you can now use it for applications on a local machine or to create a Web server and use it for server-side applications.

This chapter will introduce Node.js and give you some basic information on how you can use it to create local applications. In addition, you will be introduced to a simple database ...

Get JavaScript: A Beginner's Guide, Fifth Edition, 5th 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.