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 Features:
- Learn server-side JavaScript coding through the most up-to-date book on Node.js
- Explore the latest JavaScript features, and EcmaScript modules
- Walk through different stages of developing robust applications using Node.js 10
Book Description:
Node.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 Learn:
- Install and use Node.js 10 for both development and deployment
- Use the Express 4.16 application framework
- Work with REST service development using the Restify framework
- Use data storage engines such as MySQL, SQLITE3, and MongoDB
- Use 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
- Work with HTTPS using Let's Encrypt, and application security with Helmet
Who this book is for:
This 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.
David Herron has worked as a software engineer and software quality engineer in Silicon Valley for over 20 years. His current role at Yahoo is an Architect of the Quality Engineering team for their new Node.js based web app platform. While a Staff Engineer at Sun Microsystems, David worked as Architect of the Java SE Quality Engineering team where he focused on test automation tools, including the AWT Robot class that's now widely used in GUI test automation software. He was involved with launching the OpenJDK project, the JDK-Distros project, and ran the worldwide Mustang Regressions Contest asking the Java developer community to find bugs in the Java 1.6 release. Before Sun he worked for VXtreme on the video streaming stack which eventually became Windows Media Player when Microsoft bought that company. At The Wollongong Group he worked on both e-mail client and server software and was part of several IETF working groups improving e-mail-related protocols. David is interested in electric vehicles, world energy supplies, climate change and environmental issues, and is a co-founder of Transition Silicon Valley. As an online journalist on examiner.com he writes under the title Green Transportation Examiner, he blogs about sustainability issues on 7gen.com, runs a large electric vehicle discussion website on visforvoltage.org, and blogs about other topics including Node.js, Drupal and Doctor Who on davidherron.com.