Node.js Web Development: Build secure and high performance web applications with Node.js 10

Create real-time applications using Node.js 10, Docker, MySQL, MongoDB, and Socket.IO with this practical guide and go beyond the developer's laptop to cover live deployment, including HTTPS and hardened security.Key FeaturesLearn server-side JavaScript coding through the most up-to-date book on Node.jsExplore the latest JavaScript features, and EcmaScript modulesWalk through different stages of developing robust applications using Node.js 10Book DescriptionNode.js is a server-side JavaScript platform using an event-driven, non-blocking I/O model allowing users to build fast and scalable data-intensive applications running in real time.This book gives you an excellent starting point, bringing you straight to the heart of developing web applications with Node.js. You will progress from a rudimentary knowledge of JavaScript and server-side development to being able to create, maintain, deploy and test your own Node.js application.You will understand the importance of transitioning to functions that return Promise objects, and the difference between fs, fs/promises and fs-extra. With this book you'll learn how to use the HTTP Server and Client objects, data storage with both SQL and MongoDB databases, real-time applications with Socket.IO, mobile-first theming with Bootstrap, microservice deployment with Docker, authenticating against third-party services using OAuth, and use some well known tools to beef up security of Express 4.16 applications.What you will learnInstall and use Node.js 10 for both development and deploymentUse the Express 4.16 application frameworkWork with REST service development using the Restify frameworkUse data storage engines such as MySQL, SQLITE3, and MongoDBUse User authentication methods with OAuth2Perform Real-time communication with the front-end using Socket.IOImplement Docker microservices in development, testing and deploymentPerform unit testing with Mocha 5.x, and functional testing with Puppeteer 1.1.xWork with HTTPS using Let's Encrypt, and application security with HelmetWho This Book Is ForThis book is for anybody looking for an alternative to the "P" languages (Perl, PHP, and Python), or anyone looking for a new paradigm of server-side application development. You should have at least a rudimentary understanding of JavaScript and web application development.Table of ContentsAbout Node.jsSetting up Node.jsNode.js ModulesHTTP Servers and ClientsYour First Express ApplicationImplementing the Mobile-First ParadigmData Storage and RetrievalMultiuser Authentication the Microservice WayDynamic Client/Server Interaction with Socket.IODeploying Node.js ApplicationsUnit TestingSecurity

Author: David Herron

Learn more