Node.js Complete Reference Guide
-
Free ChapterAbout Node.js
-
Setting up Node.js
- Setting up Node.js
- System requirements
- Installing Node.js using package managers
- Installing from source on POSIX-like systems
- Installing multiple Node.js instances with nvm
- Native code modules and node-gyp
- Node.js versions policy and what to use
- Editors and debuggers
- Running and testing commands
- NPM – the Node.js package manager
- Node.js, ECMAScript 2015/2016/2017, and beyond
- Summary
-
Node.js Modules
-
HTTP Servers and Clients
- HTTP Servers and Clients
- Sending and receiving events with EventEmitters
- HTTP server applications
- ES2015 multiline and template strings
- HTTP Sniffer – listening to the HTTP conversation
- Web application frameworks
- Getting started with Express
- Calculating the Fibonacci sequence with an Express application
- Making HTTP Client requests
- Calling a REST backend service from an Express application
- Summary
-
Your First Express Application
-
Implementing the Mobile-First Paradigm
-
Data Storage and Retrieval
-
Multiuser Authentication the Microservice Way
-
Dynamic Client/Server Interaction with Socket.IO
-
Deploying Node.js Applications
-
Unit Testing and Functional Testing
-
REST – What You Did Not Know
-
Building a Typical Web API
-
Using NoSQL Databases
-
Restful API Design Guidelines
-
Implementing a Full Fledged RESTful Service
-
Consuming a RESTful API
-
Securing the Application
-
The Age of Microservices
-
Modules and Toolkits
-
Building a Microservice
-
State
-
Testing
-
Design Patterns
Node.js Complete Reference Guide takes you through rudimentary knowledge of JavaScript and server-side development to create, maintain, deploy, and test your own Node.js applications.
You will begin by learning how to use the HTTP Server and Client objects, store data with both SQL and MongoDB databases, and unit test applications with Mocha 5.x, and functionally test them with Puppeteer 1.1.x. Then, you will learn to create scalable and rich RESTful applications on the Node.js platform and write a simple HTTP request handler with self-descriptive URLs. You will learn to set accurate HTTP status codes, study how to keep your applications backward-compatible and explore some authentication techniques to secure your application. Then, you will study how Node.js has emerged as a strong candidate for developing microservices.
With this Learning Path, you will be able to use the best practices and create efficient microservices.
This Learning Path includes content from the following Packt products:
- RESTful Web API Design with Node.js 10, Third Edition by Valentin Bojinov
- Node.js Web Development, Fourth Edition by David Herron
- Hands-On Microservices with Node.js by Diogo Resende
- Publication date:
- December 2018
- Publisher
- Packt
- Pages
- 732
- ISBN
- 9781789952117