Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Node.js for Beginners

You're reading from   Node.js for Beginners A comprehensive guide to building efficient, full-featured web applications with Node.js

Arrow left icon
Product type Paperback
Published in May 2024
Publisher Packt
ISBN-13 9781803245171
Length 382 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Ulises Gascón Ulises Gascón
Author Profile Icon Ulises Gascón
Ulises Gascón
Arrow right icon
View More author details
Toc

Table of Contents (25) Chapters Close

Preface 1. Part 1: Node.js Overview and JavaScript Language
2. Chapter 1: Introduction to Node.js FREE CHAPTER 3. Chapter 2: Setting Up the Development Environment 4. Chapter 3: JavaScript Fundamentals 5. Chapter 4: Asynchronous Programming 6. Part 2: Node.js Ecosystem and Architecture
7. Chapter 5: Node.js Core Libraries 8. Chapter 6: External Modules and npm 9. Chapter 7: Event-Driven Architecture 10. Chapter 8: Testing in Node.js 11. Part 3: Web Application Fundamentals
12. Chapter 9: Handling HTTP and REST APIs 13. Chapter 10: Building Web Applications with Express 14. Part 4: Building Solid Web Applications with Node.js
15. Chapter 11: Building a Web Application Project from Scratch 16. Chapter 12: Data Persistence with MongoDB 17. Chapter 13: User Authentication and Authorization with Passport.js 18. Chapter 14: Error Handling in Node.js 19. Chapter 15: Securing Web Applications 20. Part 5: Mastering Node.js Deployment and Portability
21. Chapter 16: Deploying Node.js Applications 22. Chapter 17: Dockerizing a Node.js Application 23. Index 24. Other Books You May Enjoy

Preface

Hello world! Node.js for Beginners is a book designed with a specific goal in mind: to take you from zero to deployment as quickly as possible while building a real application that reinforces the lessons from every chapter.

Node.js has been a leading technology for many years, and while there are numerous resources available to learn from, this book takes a unique approach. The knowledge you gain here will remain relevant even if you decide to change parts of your tech stack. Let me illustrate this now with an example.

Throughout the book, we use MongoDB, a non-relational database, to build our project. You might wonder how to adapt the project if you prefer using PostgreSQL, for instance. The approach I’ve taken in writing this book will make such transitions smoother. You’ll have unit tests and a clear interface to manage these changes seamlessly. I wrote a dedicated chapter to introduce testing with the Node.js API and using third party libraries such as Jest or supertest and we integrate tests as a security net that allows us to refactor the code without fear.

I’ve written this book from the perspective of 2024, thinking about what I wish I had been taught when I was new to Node.js.

The book covers the wide range of challenges you’ll encounter while building a web application, from REST API design principles to security and proper application distribution with Docker, continuous integration, and much more.

It’s a consolidation of what I’ve been teaching my students and sharing with the community for the last decade. I hope you’ll find it as enjoyable to read as I found it to write.

Also, at the end of every chapter, you will find additional resources that will help you explore more deeply and learn the concepts that are most relevant to you.

lock icon The rest of the chapter is locked
Next Section arrow right
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image