Build production-ready, scalable applications that stand up to enterprise demands with NestJS while learning all about APIs, GraphQL, and more
Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*
Key Features
- Understand the basics of robust modern apps, design patterns, and NestJS architecture
- Build, test, and scale Rest APIs and GraphQL APIs using NestJS
- Utilize microservice architecture, DevOps, security, and communication patterns for modern API development
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
In this book, Pacifique Linjanja, a globally recognized software engineer and open-source contributor, shares his deep technical expertise and practical insights from his extensive experience delivering enterprise-level applications to unpack the full potential of NestJS, the cutting-edge Node.js framework.
This book covers the core concepts, design patterns, and best practices for building scalable, high-performance applications with NestJS. You'll learn REST API and GraphQL implementations, harness the power of microservices, and explore real-world case studies, including e-commerce, social networking, and ERP systems. The chapters provide step-by-step guidance for setting up your development environment with TypeScript and npm, structuring projects effectively, and using the Apollo Federation architecture to create efficient GraphQL APIs. This book offers hands-on guidance for testing and debugging APIs, handling exceptions, and validating data using pipes and guards, all while helping you build a complete NestJS application from scratch.
By the end, you'll be ready to apply DevOps principles for continuous integration and deployment, as well as secure your NestJS applications using advanced techniques.
*Email sign-up and proof of purchase required
What you will learn
- Master NestJS architecture and set up your environment with Node.js, npm, and TypeScript
- Apply design patterns and best practices to build robust, maintainable apps
- Build REST APIs and leverage GraphQL for flexible querying
- Use microservices architecture to efficiently scale your applications
- Understand how to test and debug APIs for optimal performance
- Implement Apollo Federation for efficient GraphQL APIs in a federated system
- Secure NestJS apps with advanced techniques
Who this book is for
If you are a software engineer, developer, or a tech lead looking to build scalable applications using NestJS, REST, GraphQL, and microservices, this book is for you. Whether you're new to NestJS or a seasoned developer, this guide will help you leverage NestJS for your next big project. It's also ideal for project managers and other IT professionals seeking insights into enterprise-level efficient development, testing strategies, and deployment processes. Even technology enthusiasts will find this book enlightening.