This is the code repository for Mastering Node.js Web Development, First Edition, published by Packt.
Go on a comprehensive journey from the fundamentals to advanced web development with Node.js
The authors of this book are -Adam Freeman
Dive into the world of Node.js with this comprehensive guide, taking you from foundational concepts to practical web development mastery. Written by an industry veteran with over 50 programming books under his belt, this book will help both beginners and seasoned developers.
Gain a deep understanding of the most important server-side features in web development with Node.js. The first part of the book will get you up to speed with basic features of Node.js and TypeScript. In the second part, you’ll elevate your skills by creating simplified implementations of key server-side features to understand how they work and how they are presented to clients. Armed with the understanding gained from implementing each feature, you will be able to replace custom code with production-ready open-source packages.
The third part will help you understand how server-side features are combined for practical web development. Using Adam Freeman’s signature SportsStore application, you will learn how to develop client and server-side components, culminating in a thorough application deployment preparation.
By the end of this Node.js book, you will be able to build and deploy server applications to support HTTP clients, including JavaScript applications created with frameworks such as Angular and React.
- Process HTTP requests and perform file operations
- Create RESTful web services that can be consumed by client-side apps
- Work with server apps serving JavaScript clients, such as React and Angular
- Leverage Node.js to work with popular databases
- Apply practical knowledge through building the SportsStore project
- Authenticate users and authorize access to application features
Explore Node.js with practical examples that will teach you how to utilize open-source packages for real-world solutions. Gain the skills to develop and deploy server-side applications that enhance your client-side projects.
- Getting Ready
- Working with the Node.js Tools
- JavaScript and TypeScript Primer
- Understanding Node.js Concurrency
- Handling HTTP Requests
- Using Node.js Streams
- Using Bundles and Content Security
- Unit Testing and Debugging
- Creating the Example Project
- Using HTML Templates
- Handling Form Data
- Using Databases
- Using Sessions
- Creating RESTful Web Services
- Authenticating and Authorizing Requests
- SportsStore: A Real Application
- SportsStore: Navigation and Cart
- SportsStore: Orders and Validation
- SportsStore: Authentication
- SportsStore: Administration
- SportsStore: Deployment
If you feel this book is for you, get your copy today!
With the following software and hardware list you can run all code files present in the book (Chapter number mention here).
Chapter | Software required | Link to the software | Hardware specifications | OS required |
---|---|---|---|---|
All chapters | Node.js version 20.10.0 | https://nodejs.org/en/download/package-manager | Should work on any recent computer | Windows, MacOS, Linux (any), macOS, Windows |
All chapters | Git | https://www.git-scm.com/downloads | Should work on any recent computer | Windows, MacOS, Linux (any), macOS, Windows |
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost. Simply click on the link to claim your free PDF. Free-Ebook
Adam Freeman is an experienced IT professional who started his career as a programmer. He held senior positions in a range of companies, where he was most recently serving as Chief Technology Officer and Chief Operating Officer of a global bank. He has written 53 programming books, focusing mostly on web application development. Now retired, he spends his time writing and trying to make furniture.