Node.js Complete Reference Guide Front Cover

Node.js Complete Reference Guide

  • Length: 732 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2018-12-21
  • ISBN-10: 1789952115
  • ISBN-13: 9781789952117
  • Sales Rank: #2571261 (See Top 100 Books)
Description

Node.js Complete Reference Guide is your one-stop solution to building highly scalable, single-language applications that share code between the server and client

Key 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

Book Description

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

What you will 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

Who this book is for

Node.js Complete Reference Guide is designed for web developers who have a rudimentary understanding of JavaScript and web application development, are keen to enrich their development skills to create RESTful applications, and want utilize their skills to build microservices.

Table of 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
To access the link, solve the captcha.