Node.js Complete Reference Guide
- Length: 732 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2018-12-21
- ISBN-10: 1789952115
- ISBN-13: 9781789952117
- Sales Rank: #2571261 (See Top 100 Books)
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
- About Node.js
- Setting up Node.js
- Node.js Modules
- HTTP Servers and Clients
- 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