What is Node.js?
Node is popular
As a platform, Node.js is one of the most popular server platforms in existence and is the anchor of the MEAN stack. That means, if you know Node, your job prospects are good.
Node is powerful
Node also has a secret weapon in the battle for scalability: the event loop. Using asynchronous programming techniques, combined with the event loop, which processes I/O requests in separate threads in the background, Node can achieve ludicrous mode scalability (yes, that’s a thing).
Node is a community
The Node.js community is engaged, active, and open. Code sharing is the norm in the Node community through the npm registry, where you can find lots of code to use in your applications, complete with documentation and source code.
Want to get involved? There are dozens of ways you can contribute to the already extensive body of work in the Node community.
Source code for the learning path
This Node.Js learning path has a GitHub repo that contains every example from every tutorial, so you can run the examples yourself and follow along with the material.
In addition, most tutorials have quizzes with programming exercises. The solutions for every programming exercise are included in the GitHub repo in case you get stuck.
If you have no programming experience at all, you might check some of the other great resources at IBM Developer to get you ready to take this learning path.
You need to be able to install software on your computer. You should also be familiar with using the command line on your particular platform. If you’re on MacOS, that means a Terminal window. On Windows, it’s the command prompt. On Linux, the command line.
Estimated time to complete
Approximately 2 hours.
With this learning path, you:
- Install the
nodeprogram itself, along with
npmfor managing Node projects
- Take a tour of Node.js, including the Node runtime, the Read-Eval-Print Loop, the non-blocking I/O model, and the npm ecosystem
- Examine Node’s module system
- Learn how to use the Chrome V8 profiler
- Get an overview of promises
- Explore event loops, including creating custom events, using streams, and passing arguments to timer callbacks
- Join a mock Node project team, where you write your first Node.js application
- Understand the Node package manager and Node dependency management
- Learn about several tools that can help you test your Node applications to catch any bugs