Skip to main content

This course has been retired. Due to outdated content, we don’t offer a badge for this course, but you can still view the lessons. We recommend taking the updated course Introduction to Node.js (and earning a badge) instead.

Course image for Introducing Node.js

Introducing Node.js

Gym Short
Enrollment is Closed

Introducing Node.JS will teach you the basics of Node.js through the example of building a sample "social profile" form.

About This Course

This course will describe the benefits of using Node.Js and walk through a sample project. Concepts covered include installing Node and Express, working with Jade, reading and writing data from a JSON file, as well as storing references in JSON data. By the end of the course you will have a solid overview of the benefits of using Node.js and a starting point for integrating Node into your workflow.

Course Outline

  • Chapter 1: Lesson Intro

    A brief introduction to what you'll be learning in the course including how to access and use lesson files.

  • Chapter 2: Installing Node.js

    Walk through the basic steps of installing node onto your system.

  • Chapter 3: Use Node and Express to Serve a Static Directory

    This chapter demonstrates how to use NPM to install the dependencies, and start the server. Additionally, you will learn how to use an HTML file to respond to a HTTP GET request.

  • Chapter 4: Using Express Routes for Handling HTTP GET Requests

    Learn how to set a GET express route, in order to take your first step for dynamic resource serving.

  • Chapter 5: First Look at Express’ View Engine, with EJS

    You will look at the use of Express' View Engine in two ways, the first is using EJS, a common HTML based renderer, using JavaScript in a method similar to PHP. EJS introduces dynamic rendering without focusing on the syntax learning that Jade requires.

  • Chapter 6: Second Look at Express’ View Engine, with Jade

    The companion piece to Chapter 5, in this chapter you will learn why Jade is one of the most common renderers and will rewrite the EJS example using Jade syntax.

  • Chapter 7: Profile Edit Form with Jade and HTTP Post

    In this chapter you will build an "Edit Profile" form. Along the way you will learn how to retrieve field variables and how to integrate Twitter Bootstrap as well as your custom CSS styles into your Node project.

  • Chapter 8: Read and Write Data from a JSON File

    This chapter demonstrates how you can work with data in Node without the need for a database. Learn how to provide storage for user data in the profile form you created in the previous chapter. Specifically, you will discover how to save and retrieve data in a simple and valid way, using a simple JSON file.

  • Chapter 9: Uploading Images and Storing Reference in JSON Data

    In this chapter, you will conclude the building of your profile form and learn how to retrieve file variables, and manipulate files on the server (in this case the image that a user would upload to a profile form).

Prerequisites

  • This course requires an intermediate to advanced understanding of HTML, CSS and JavaScript.
  • Experience using the command-line to install applications on your system will be useful.
  • Experience in working with remote server technology will also be helpful.

Software Requirements

  • Mac or Windows desktop or laptop
  • You will need admin rights on your system in order to install Node.Js and its dependencies
  • Google Chrome web browser recommended

This Course is For

  • Front-End Developers
  • Back-End Developers
  • JavaScript developers and programmers

Meet the Instructor

Jason Hargrove

Jason Hargrove

Jason is an Internet-focused content distributor, photojournalist, and filmmaker based in Toronto and working at fashion weeks around the world. His life has been powered by mobile, web software development and brand advertising. He is a full-stack software engineer working in JavaScript, Node.js, Angular, HTML, CSS, Drupal, and other technologies — most often for early-stage startups and media companies.

👋 Learn why Inclusive Design Efforts Fail (And What to Do About It) on LinkedIn Live Tuesday, February 20 at 2 PM EST.