Author
Updated
8/31/2017Released
12/11/2015Alex Banks shows how to install Node.js on a Mac or PC and work with the Node.js core: the global object, event loop, http module, and file system. Then he covers reading and writing data, streaming data, making http requests, and working with the node package manager (npm). In the final chapters, he shows how to start sessions on web servers, communicate with web servers and clients with WebSockets, use the Express framework to develop applications, and test and debug Node.js code. Want to speed up your Node.js workflow? Check out the tutorials on automating tasks with Grunt and npm scripts.
- What is Node.js?
- Installing Node.js
- Understanding the global object and global timing
- Importing the core modules
- Handling events
- Creating child processes
- Reading, writing, and removing files
- Working with file streams
- Making http requests
- Serving files and JSON data
- Installing npm, the node package manager
- Working with Express, the web server framework
- Using WebSockets
- Testing and debugging Node.js code
- Working with Grunt and Browserify
- Automating tasks with npm scripts
Skill Level Intermediate
Duration
Views
- Hello. I'm Alex Banks. Welcome to Node.js Essential Training. Node.js allows us to build javascript applications that run outside the scope of the browser which means you could run javascript either locally on your laptop or in a large cluster on the Cloud. Node.js works across platforms. It is lightweight, fast and the node package manager, npm, gives us access to the largest source of open source libraries in the world. In this course, we're going to dive into this technology and see what it's all about.
This course starts off by defining how Node.js works with this event driven, asynchronous, non-blocking IO model. We'll discover how an event loop is at the core of Node.js and how single threaded applications can handle many connections quickly. We're diving deep into the Node core to discover what we can do with Node.js before ever installing our first npm. We'll focus on streams, the file system, the HTTP module, the guts, the stuff that is used to make it all happen. Once we understand how to build HTTP servers with the Node core, we'll look at Express, a web server module that will help us rapidly develop web server apps.
We're going to finish off this course by introducing new you to the concepts that you will need to work professionally with Node.js. We will focus heavily on testing and advanced testing with Mocha and Chai. And we will also take a look at how you can improve your workflow through automation with tools like Grunt and npm scripts. We have a lot to cover, so welcome, thank you for attending and let's get started.
Q: This course was updated on 09/06/2017. What changed?
A: New videos were added that cover upgrading Node. In addition, the following topic was updated: debugging with npm.
Related Courses
-
PHP: Creating Secure Websites
with Kevin Skoglund4h 15m Intermediate
-
Introduction
-
Welcome1m 32s
-
What you should know1m 15s
-
-
1. What Is Node.js?
-
Node.js history1m 45s
-
How Node.js works3m 32s
-
-
2. Installing Node.js
-
Installing Node.js on a Mac1m 23s
-
Installing Node.js on a PC1m 30s
-
Upgrading Node2m 20s
-
-
3. Node Core
-
The global object7m 18s
-
Global timing functions10m 27s
-
-
4. Node Modules
-
Core modules4m 42s
-
Exporting custom modules4m 41s
-
-
5. The File System
-
Listing directory files5m 13s
-
Reading files7m 12s
-
Writing and appending files7m 48s
-
Directory creation3m 30s
-
Renaming and removing files6m 30s
-
Readable file streams8m 30s
-
Writable file streams5m 24s
-
-
6. The HTTP Module
-
Making a request10m 45s
-
Building a web server7m 5s
-
Serving files12m 25s
-
Serving JSON data9m 31s
-
Collecting POST data7m 51s
-
-
7. Node Package Manager
-
Installing npms locally4m 4s
-
-
8. Web Servers
-
The package.json file9m 35s
-
Intro to Express8m 21s
-
Express routing and CORS7m 29s
-
Express post bodies and params10m 46s
-
-
9. WebSockets
-
Creating a WebSocket server8m 30s
-
-
10. Testing and Debugging
-
Testing with mocha and Chai8m 46s
-
Asynchronous mocha testing9m 27s
-
Mocking a server with Nock5m 43s
-
Advanced testing Sinon spies5m 57s
-
Advanced testing Sinon stubs9m 30s
-
Code coverage with Istanbul4m 56s
-
-
11. Automation and Deployment
-
Automation with npm5m 7s
-
Debugging with NPM9m 6s
-
Conclusion
-
Next steps2m 4s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Welcome