Building Microservices with Node.js: Explore microservices applications and migrate from a monolith architecture to microservices
- Length: 324 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2024-05-03
- ISBN-10: 183898593X
- ISBN-13: 9781838985936
Venture into microservices with Node.js, uncovering step-by-step roadmaps, insightful demonstrations, and cutting-edge techniques to build robust web applications
Key Features
- Explore microservices architecture and implement it using Node.js for robust web applications
- Follow clear, practical examples and real-world use cases to apply your knowledge and build your skills
- Excel in the world of software development and tackle complex challenges with confidence
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
Do you want to immerse yourself in the world of microservices? Building Microservices with Node.js will guide you through migration from a monolithic architecture to microservices. With this book, you’ll acquire a deep understanding of microservices architecture and apply it confidently in your web application projects.
As you progress, you’ll be guided through the process of creating a simple application and incorporating the Node.js framework into it, along with its commonly used libraries. You’ll learn how the framework operates, how to configure it, and how to develop handlers for the web framework. Furthermore, you’ll explore how to deploy your application to a production server while going through the intricacies of JavaScript and Node.js. Later chapters will show you how to approach microservices in Node.js, implement them effectively, and integrate RESTful APIs. Additionally, you’ll gain insights into service-to-service authentication and authorization and learn how to work with databases and caching. To ensure a comprehensive understanding of the topic, you’ll get to grips with monitoring and logging in microservices with Node.js.
By the end of this microservices book, you’ll be able to develop a web app using the Node.js framework, configure it, extend it using libraries available for this framework, and launch it using best practices.
What you will learn
- Design domain-oriented microservices using domain-driven design (DDD)
- Understand collaboration techniques for inter-microservice communication and learn how to design an API gateway
- Automate microservice integration and deployment
- Split a monolith safely into microservices and understand how to test microservices effectively
- Use and implement microservices in Kubernetes and Docker environments
- Get to grips with best practices for maintaining microservices at scale
Who this book is for
This microservices and Node.js book is for backend developers, full-stack developers, software architects, and frontend developers who want to venture into the world of backend development and extend their capabilities. A fundamental understanding of the JavaScript ecosystem will be helpful but not necessary, as this book will cover the essentials of backend development, JavaScript programming, and Node.js.
Table of Contents
- Introducing Microservices
- Exploring the Core Principles of Microservices
- Understanding Node.js Fundamentals: Building Blocks and Key Concepts
- Leveraging the JavaScript and Node.js Ecosystem for Microservices Development
- Knowing the Infrastructure of Microservices in Node.js
- Designing Microservices Architecture in Node.js
- Integrating Microservices in Node.js Applications
- Debugging Microservices in Node.js
- Database Manipulation in Microservices with Node.js
- API Communication and Data Contracts in Microservices
- Caching and Asynchronous Messaging in Microservices
- Ensuring Data Security with the Saga Pattern, Encryption, and Security Measures