Node.js Web Development - Fourth Edition
Learn |
|
---|---|
About |
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. |
Features |
|
Page Count | 492 |
Course Length | 14 hours 45 minutes |
ISBN | 9781788626859 |
Date Of Publication | 29 May 2018 |
System requirements |
Installing Node.js using package managers |
Installing from source on POSIX-like systems |
Installing multiple Node.js instances with nvm |
Native code modules and node-gyp |
Node.js versions policy and what to use |
Editors and debuggers |
Running and testing commands |
NPM – the Node.js package manager |
Node.js, ECMAScript 2015/2016/2017, and beyond |
Summary |
Promises, async functions, and Express router functions |
Express and the MVC paradigm |
Creating the Notes application |
Theming your Express application |
Scaling up – running multiple Notes instances |
Summary |
Problem – the Notes app isn't mobile friendly |
Mobile-first paradigm |
Using Twitter Bootstrap on the Notes application |
Flexbox and CSS Grids |
Mobile-first design for the Notes application |
Building a customized Bootstrap |
Summary |
Notes application architecture and deployment considerations |
Traditional Linux Node.js service deployment |
Node.js microservice deployment with Docker |
Summary |
Assert – the basis of testing methodologies |
Testing a Notes model |
Using Docker to manage test infrastructure |
Testing REST backend services |
Automating test results reporting |
Frontend headless browser testing with Puppeteer |
Summary |