Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Node.js for Beginners
  • Table Of Contents Toc
Node.js for Beginners

Node.js for Beginners

By : Ulises Gascón
4.8 (5)
close
close
Node.js for Beginners

Node.js for Beginners

4.8 (5)
By: Ulises Gascón

Overview of this book

Node.js revolutionizes server-side JavaScript development and empowers developers to build efficient, scalable, and versatile applications across a range of use cases. This book is written by a Node.js core collaborator and releaser and is the only book for beginners on Node.js. It takes you on a progressive learning path that will give you the skills needed to leverage Node.js. You’ll learn Node.js fundamentals and refresh your knowledge of JavaScript before transitioning to the development of modern web applications using Node.js, Express.js, and MongoDB. You’ll get hands-on with complex topics such as asynchronous programming, npm libraries, event-driven patterns for HTTP servers, RESTful API, and JSON Web Tokens. The final chapters will walk you through the deployment process, offering insights into various strategies, including bare metal setups, virtual machines, and containerization with Docker. You’ll also be guided through the use of Process Manager 2 (PM2) for efficient process management. By the end of this Node.js book, you'll have the skills to craft, test, and deploy Node.js web applications confidently and use this powerful stack in your day-to-day projects.
Table of Contents (25 chapters)
close
close
Lock Free Chapter
1
Part 1: Node.js Overview and JavaScript Language
6
Part 2: Node.js Ecosystem and Architecture
11
Part 3: Web Application Fundamentals
14
Part 4: Building Solid Web Applications with Node.js
20
Part 5: Mastering Node.js Deployment and Portability

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.

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Node.js for Beginners
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon