Alex 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
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.