This is the code repository for Node.js Web Development - Fifth Edition, published by Packt.
Server-side web development made easy with Node 14 using practical examples
Node.js is the leading choice of server-side web development platform, enabling developers to use the same tools and paradigms for both server-side and client-side software. This updated fifth edition of Node.js Web Development focuses on the new features of Node.js 14, Express 4.x, and ECMAScript, taking you through modern concepts, techniques, and best practices for using Node.js.
This book covers the following exciting features:
- Install and use Node.js 14 and Express 4.17 for both web development and deployment
- Implement REST services using the Restify framework
- Develop, test, and deploy microservices using Kubernetes and Node.js
- Get up to speed with using data storage engines such as MySQL, SQLite3, and MongoDB
- Secure your web applications using headless browser testing with Puppeteer
- Implement HTTPS using Let's Encrypt and enhance application security with Helmet
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
if (test expression)
{
Statement upon condition is true
}
Following is what you need for this book: If you're looking for an alternative to the ‘P’ languages (Perl, PHP, and Python), or if you want to get started with server-side web development with JavaScript programming, or if you want a deep dive into deploying services to cloud hosting, this Node.js book is for you. A rudimentary understanding of JavaScript and web application development is a must before you get started with this book.
With the following software and hardware list you can run all code files present in the book (Chapter 1-14).
Chapter | Software required | OS required |
---|---|---|
2 | Node.js 14.x | Windows, Mac OS X, and Linux (Any) |
2 | Python 3 | Windows, Mac OS X, and Linux (Any) |
2 | C/C++ compiler | Windows, Mac OS X, and Linux (Any) |
5 | Express | Windows, Mac OS X, and Linux (Any) |
6 | Bootstrap | Windows, Mac OS X, and Linux (Any) |
7 | SQLite3 | Windows, Mac OS X, and Linux (Any) |
7 | MYSQL | Windows, Mac OS X, and Linux (Any) |
7 | MongoDB | Windows, Mac OS X, and Linux (Any) |
7 | Sequelize | Windows, Mac OS X, and Linux (Any) |
9 | Socket.IO | Windows, Mac OS X, and Linux (Any) |
10 | Multipass | Windows, Mac OS X, and Linux (Any) |
11 | Docker | Windows, Mac OS X, and Linux (Any) |
12 | Terraform | Windows, Mac OS X, and Linux (Any) |
13 | Mocha | Windows, Mac OS X, and Linux (Any) |
13 | Puppeteer | Windows, Mac OS X, and Linux (Any) |
- Page 28: return 2 should be replaced as done(2)
David Herron is a software engineer living in Silicon Valley who has worked on projects ranging from an X.400 email server to being part of the team that launched the OpenJDK project, to Yahoo's Node.js application-hosting platform, and a solar array performance monitoring service. That took David through several companies until he grew tired of communicating primarily with machines, and developed a longing for human communication. Today, David is an independent writer of books and blog posts covering topics related to technology, programming, electric vehicles, and clean energy technologies.
- Node Web Development
- Node Web Development - Second Edition
- Node.js Web Development - Third Edition
- Node.js Web Development - Fourth Edition
Click here if you have any feedback or suggestions.