# Mastering Node.js Web Development, First Edition
This is the code repository for [Mastering Node.js Web Development, First Edition](https://www.packtpub.com/product/mastering-nodejs-web-development/9781804615072), 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]()

## About the book
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.


## Key Takeaways
- 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

## Outline and Chapter Summary

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.


1. Getting Ready
2. Working with the Node.js Tools
3. JavaScript and TypeScript Primer
4. Understanding Node.js Concurrency
5. Handling HTTP Requests
6. Using Node.js Streams
7. Using Bundles and Content Security
8. Unit Testing and Debugging
9. Creating the Example Project
10. Using HTML Templates
11. Handling Form Data
12. Using Databases
13. Using Sessions
14. Creating RESTful Web Services
15. Authenticating and Authorizing Requests
16. SportsStore: A Real Application
17. SportsStore: Navigation and Cart
18. SportsStore: Orders and Validation
19. SportsStore: Authentication
20. SportsStore: Administration
21. SportsStore: Deployment




> If you feel this book is for you, get your [copy](https://www.amazon.com/Mastering-Node-js-Web-Development-comprehensive/dp/1804615072/ref=sr_1_1?crid=12PEHAY1PVA02&dib=eyJ2IjoiMSJ9.11QJcPznryXeGb75dN71Wg.EfglnRqg7lmlVrKKMvyIcblhesbkz2MAFnDTyYG4xK4&dib_tag=se&keywords=9781804615072&qid=1718597110&sprefix=9781804615072%2Caps%2C367&sr=8-1) today! <img alt="Coding" height="15" width="35"  src="https://media.tenor.com/ex_HDD_k5P8AAAAi/habbo-habbohotel.gif">


With the following software and hardware list you can run all code files present in the book (Chapter number mention here).

## Software and hardware list

| 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](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](https://www.git-scm.com/downloads) | Should work on any recent computer | Windows, MacOS, Linux (any), macOS, Windows |



## Download a free PDF <img alt="Coding" height="25" width="40" src="https://emergency.com.au/wp-content/uploads/2021/03/free.gif">

_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](https://packt.link/free-ebook/9781804615072) <img alt="Coding" height="15" width="35"  src="https://media.tenor.com/ex_HDD_k5P8AAAAi/habbo-habbohotel.gif">


## Get to know the Author
_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.


## Other Related Books
- [JavaScript from Beginner to Professional](https://www.packtpub.com/product/javascript-from-beginner-to-professional/9781800562523)
- [Learning Angular - Fifth Edition](https://www.packtpub.com/product/learning-angular-fifth-edition/9781835087480)
- [React and React Native - Fifth Edition](https://www.packtpub.com/product/react-and-react-native-fifth-edition/9781805127307)
