Node.js Complete Reference Guide: Discover a more sustainable way of writing software with high levels of reusability and collaboration using Node.js
Authors: Valentin Bojinov – David Herron – Diogo Resende
ISBN-10: 1789952115
ISBN-13: 9781789952117
Released: 2018-12-21
Print Length 页数: 732 pages
Book Description
More Information
Learn
Work with REST service development using the Restify framework
Use data storage engines,such as MySQL,SQLITE3,and MongoDB in apps
Apply user authentication methods with OAuth2
Perform real-time communication with the front-end using Socket.IO
Implement Docker microservices in development,testing,and deployment
Perform unit testing with Mocha 5.x and functional testing with Puppeteer 1.1.x
Use self-descriptive URLs and set accurate HTTP status codes
Deploy a cloud-native microservice to an online provider
About
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
Features
Explore the latest JavaScript features and EcmaScript modules
Walk through different stages of developing robust applications using Node.js 10
Create rich and scalable RESTful API solutions from scratch
contents
1 About Node.js
2 Setting up Node.js
3 Node.js Modules
4 HTTP Servers and Clients
5 Your First Express Application
6 Implementing the Mobile-First Paradigm
7 Data Storage and Retrieval
8 Multiuser Authentication the Microservice Way
9 Dynamic Client/Server Interaction with Socket.IO
10 Deploying Node.js Applications
11 Unit Testing and Functional Testing
12 REST – What You Did Not Know
13 Building a Typical Web API
14 Using NoSQL Databases
15 Restful API Design Guidelines
16 Implementing a Full Fledged RESTful Service
17 Consuming a RESTful API
18 Securing the Application
19 The Age of Microservices
20 Modules and Toolkits
21 Building a Microservice
22 State
23 Testing
24 Design Patterns