Have a personal or library account? Click to login
Node.js Cover

Node.js

The Comprehensive Guide

Paid access
|Jan 2025
Product purchase options

Explore comprehensive Node.js concepts from environment setup to advanced web development frameworks and asynchronous programming techniques in this detailed guide.

Key Features

  • Comprehensive coverage of Node.js core concepts and ecosystem components for broad understanding
  • Emphasis on modern server-side development challenges to highlight real-world application needs
  • Clear code examples and framework use to support hands-on, applied learning experience

Book Description

This comprehensive guide begins by introducing the core principles of Node.js, covering installation, environment setup, and modular programming. Readers then build foundational skills by creating their first applications and exploring essential web technologies like HTTP and popular frameworks such as Express and Nest. The journey continues into advanced topics like template engines, database integration, and authentication techniques, equipping readers to build full-featured web applications.
As readers progress, the book delves into building RESTful and GraphQL APIs, real-time applications with WebSockets, and writing type-safe Node.js code using TypeScript. Later chapters explore command-line tools, asynchronous programming with Promises and RxJS, streams, and file handling. Comprehensive sections on package management, quality assurance, testing, and security provide practical insights to produce robust, maintainable software.
The final chapters focus on deploying scalable applications, performance optimization, microservices architecture, and introduce the emerging Deno runtime. Throughout the book, detailed examples and step-by-step explanations guide readers from fundamental concepts to advanced techniques, making this an essential resource for developers seeking mastery of server-side JavaScript development with Node.js.

What you will learn

  • Build scalable server-side applications using Node.js frameworks
  • Implement asynchronous programming with Promises and Async/Await
  • Design secure authentication using Passport and JWT tokens
  • Develop RESTful and GraphQL APIs for modern web services
  • Create real-time apps leveraging WebSockets and Socket.IO
  • Optimize Node.js performance and deploy scalable microservices

Who this book is for

Ideal for intermediate developers with basic JavaScript knowledge looking to deepen their server-side skills with Node.js. Familiarity with JavaScript ES6+ is recommended. Readers should have fundamental programming experience and a basic understanding of web technologies. No prior Node.js experience is required.

Table of Contents

  1. Basic Principles
  2. Installation
  3. Developing Your First Application
  4. Node.js Modules
  5. HTTP
  6. Express
  7. Template Engines
  8. Connecting Databases
  9. Authentication and Session Handling
  10. REST Server
  11. GraphQL
  12. Real-Time Web Applications
  13. Type-Safe Applications in Node.js
  14. Web Applications with Nest
  15. Node on the Command Line
  16. Asynchronous Programming
  17. RxJS
  18. Streams
  19. Working with Files
  20. Socket Server
  21. Package Manager
  22. Quality Assurance
  23. Testing
  24. Security
  25. Scalability and Deployment
  26. Performance
  27. Microservices with Node.js
  28. Deno
PDF ISBN: 978-1-80610-842-8
Publisher: Packt Publishing Limited
Publication date: 2025
Language: English
Pages: 837