If you’re developing server-side JavaScript applications, you need Node.js! Start with the basics of the Node.js environment: installation, application structure, and modules. Then follow detailed code examples to learn about web development using frameworks like Express and Nest.js. Learn about different approaches to asynchronous programming, including RxJS and data streams. Details on peripheral topics such as testing, security, performance, and more, make this your all-in-one daily reference for Node.js! · Your complete guide to backend programming with JavaScript· Install the Node.js environment and learn to use core frameworks· Debug, scale, test, and optimize your applications· Get practical code examples as downloadable product supplements Getting Started with Node.js Begin your journey with Node.js. Learn about the core components of the environment such as the V8 engine and libraries. Then install Node.js and explore application development tools and the module system. Developing Applications Develop web applications by following practical code examples. Set up a web server using HTTP and develop apps step by step using the Express and Nest.js frameworks. Connect databases, generate interfaces using the REST server and GraphQL, implement command-line tools, handle asynchronous programming, and more. Managing ApplicationsManage your Node.js applications from development to deployment. Learn how to use package managers, implement tests, and protect against security threats. Get expert tips on scalability and performance to optimize your apps. What used to sound unimaginable is possible with Node.js: a single language for client-side and server-side programming. Today, you can use JavaScript for frontend and backend development. This allows you to develop high-performance, scalable, and real-time web applications quickly and easily. No wonder Node.js is becoming more and more popular. This comprehensive guide is the perfect place to start if you want to master Node.js, one of the most important players in the JavaScript universe. You’ll learn the basics of Node.js, see how the platform is built, and work with various interfaces. With Sebastian Springer, you have an experienced author at your side who shares his enthusiasm about professional JavaScript development. Using many real-life examples, he shows you how to use Node.js securely, right from the start. This book covers key JavaScript features like destructuring, promises, and the module system. However, the focus is on Node.js, so you should have basic knowledge of JavaScript before reading. This book includes: 1) More than 800 pages on Node.js 2) Concrete solutions for practical use cases 3) Detailed, numbered code listings 4) Tables, figures, note boxes, and screenshots 5) A comprehensive index6) All code examples available as downloadable supplements The structure of the book: To help structure your learning process, you can think of the book as having four distinct parts:· The first part covers the Node.js basics and provides a hands-on introduction to the module system. · The second part provides practical examples from web development. You’ll learn about important frameworks such as Express and template engines like Pug. · The third part is dedicated to asynchronous programming. You’ll learn how to deal with promises and child processes, and also how to use data streams in development. · The fourth part offers best practices and troubleshooting tips for developers. You’ll find valuable knowledge for everyday developer tasks, solutions for common problems, and security considerations. Highlights:
Installation
Asynchronous programming
Application development
Modules
Express and Nest.js frameworks
Template engines
Database connectivity
Web sockets
Session handling
Deployment and operations
Security
Testing, performance, and scalability