Introduction to Node.js demonstrates the benefits of using Node.js for building lightweight, scalable web applications. This is a hands-on course that will walk you through the process of building a simple to-do list application.
About This Course
This course will teach you how to install the various components needed to get you up and running with Node.js including how to configure a local web server, how to leverage the Node Package Manager (NPM) to make web development easier and how to use a template engine to dynamically generate HTML within your web applications.
Course Outline
-
Chapter 1: Overview
Begin your tour of what makes Node.js unique and popular among front-end and back-end developers. You’ll take a look at the technical advantages of Node and why these have translated into business advantages for major companies across the Web who have chosen the Node environment to build complex web applications.
-
Chapter 2: Developing with Node
Learn how to install Node.js on your system using the command line as well as how to access the lesson files for this course. Additionally, you’ll walk through the steps of installing and connecting to a server using the ‘HTTP’ package.
-
Chapter 3: Installing Packages & NPM
Discover how to take advantage of Node Package Manager (NPM), a command-line tool that allows you to install specific software modules from a global repository. You will be using it specifically to install Express.js, a framework that delivers a number of powerful features for web and mobile applications.
-
Chapter 4: Working with a Template Engine
Explore the benefits of a template engine, a tool for generating reusable HTML structure and content. You’ll be installing the popular EJS template engine and then using it build the tasks within your web application.
-
Chapter 5: Working with HTML Forms
Bring your sample project to life in this chapter as you create interactive text input fields within a simple web form. You’ll accomplish this through the use of the Express.js ‘body-parser’ package which will be used to handle form data.
-
Chapter 6: Developing Your Skills
Review the benefits and power of developing with Node.js, and we’ll guide you towards additional resources that will encourage and inspire you to learn more about developing with Node.js.
Prerequisites
- A familiarity with using the command line in Windows and/or the terminal in macOS
- Basic knowledge of writing JavaScript syntax by hand
- General understanding of web technologies such as HTML, scripting languages such as PHP, and web forms
Software Requirements
- Mac, Windows or Linux
- A text editor (We suggest Visual Code Studio, it’s free, and available for Mac, Windows, and Linux)
- System privileges allowing you to install local software