Node.js is a modern web framework that allows you to build rich applications. As a developer, you need to know just one programming language to build an application that can be executed anywhere, be it the server, console, browser, or on your mobile phone.
This course begins with explaining how Node.js works and what its architecture is all about. You will then learn to create your first Node.js application and also create a command line tool for Node.js. Next, you will learn how to work with commander.js and use the event emitter because events are a powerful extension that can be used in our application.
The course will then teach you to use and define streams and transformers, after which you will be skilled to build a web server with Express.js. This will be followed by taking you through how to read, write, and manipulate files in the file system with Node.js. You will even learn how to create micro services with the loopback API framework and Seneca.js, post which we will scale our node.js application and test our code. Finally, you will complete your learning journey by using these APIs to create a web server, access file system, and create real-time interactions.
With this course, you will be able to build your own tools, along with big network and real-time applications.
What You Will Learn
- How Node.js works, how it’s architecture looks like
- How to build your own tools, in the console.
- How to work with asynchronous events
- Learn to work with streaming data
- Create your own web server and web api’s with node.js
- Reading and writing a file
- Learning how to handle real time messages
- Unit testing your code
Table of Contents
Understanding the Node.js Environment
1 The Course Overview
2 Installation and Setup
3 Node.js Under the Hood
4 Read Eval Print Loop
5 Event Loop
CLI Application Development
6 CLI Interactions
7 Commander.js and prompt
8 Make Your Tool Global
Asynchronous Event Driven Programming
9 Understanding Events
11 Creating an Event
12 Events in Depth
Streaming Data across Nodes and Clients
13 Exploring Streams
14 Object Streams
15 Creating an http-server
16 Handling Post Data
Http and Web Server
18 Request Middleware
19 Social Logins
Using Node.js to Access File System
21 Iterating Over Files and Folders
22 When we want to search for a file, we need to iterate over files and folders.
23 Writing a File
24 Handling File Uploads
Utilizing Multiple Processes
25 Taking Control Over the Process
26 Creating Child Processes
27 Communicating with Your Child Processes
Creating Real-Time Applications
28 Using Bi-Directional Communication with Socket.IO
29 Server-Sent Events
30 Server to Server Communication
Scaling Your Applications
31 Why Scale?
32 Microservices That Scale
33 Bringing an Application to the Cloud
Testing and References
34 Testing and spying
35 Testing an API