Pre-release

Node.js

A runtime environment executing JavaScript outside the browser

Intermediate
2 hrs 30 mins
7 chapters

Overview

Node.js is a JavaScript runtime environment, powered by the extremely robust V8 engine. Node.js has earned the reputation of primarily being used to power web server although it's much more capable beyond that.

For a long time — or better to say, for a very long time — JavaScript has remained within the bounds of web browsers. In 2009, being inspired to solve certain scalability issues plaguing other web server technologies, Ryan Dahl released a new server-side technology called Node.js and, as per the name, chose JavaScript as the scripting language.

Fast-forward today, Node.js is almost everywhere.

Many big companies have shifted their server-side logic to Node.js that anticipate a huge requirement of a high throughput on their servers, something which Node.js intrinsically shines in handling flawlessly.

Moreover, the npm package management system that Node.js offers to developers is used in cases that extend well beyond just backend development — a barebones React application also utilizes Node.js for powering local bundling tools that operate on the underlying file system.

The best thing about Node.js is that it enables existing frontend JavaScript developers to learn a couple of APIs meant for the server and get started with fullstack development in a relatively short span of time.

Compare this with having to learn another completely separate language solely for the server end; the likes of Java, Ruby, Python, PHP. Doesn't seem that quick to be able to shift as easily, right?

Prerequisites

  • JavaScript

    Node.js is a JavaScript runtime environment so, certainly, knowledge of core JavaScript is assumed.

Learning outcomes

By the end of this course, you'll know:

  1. What exactly is Node.js and what problems it solves that traditional web server technologies have largely failed in solving efficiently.
  2. How to install and set up Node.js, and then configure its execution environment in VS Code.
  3. The two different modules systems in Node.js: CommonJS modules and ECMAScript modules.
  4. (more topics to follow...)

Table of contents

FAQs

While Node.js isn't that difficult to learn, it isn't that easy either. Node.js is a technology primarily meant to be used to create web servers, and because creating a web server is a highly technical task, there is naturally a lot to learn in Node.js.

If you're having a hard time understanding a given concept in the course, feel free to reach out to me at bilal@codeguage.com, describing the issue you're facing. I'll try my level best to help you out.

The courses on Codeguage are released while they are still under construction so that learners can get early previews. As I continuously work on adding more and more content to the courses, if a given topic isn't covered today, there's a high chance that it's already under way and will show up very soon. You can follow Codeguage on Twitter to be updated with all the latest content releases.

Write to me at bilal@codeguage.com.

Let's get learning!

Start learning

Recent courses