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 Scalable Application Development with NestJS
  • Table Of Contents Toc
Scalable Application Development with NestJS

Scalable Application Development with NestJS

By : Pacifique Linjanja
4.4 (5)
close
close
Scalable Application Development with NestJS

Scalable Application Development with NestJS

4.4 (5)
By: Pacifique Linjanja

Overview of this book

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.
Table of Contents (29 chapters)
close
close
Lock Free Chapter
1
Part 1: Introduction to NestJS and Scalable Application Architecture
6
Part 2: REST APIs and GraphQL in NestJS
9
Part 3: Testing and Debugging APIs in NestJS
12
Part 4: Scaling with Microservices and NestJS
16
Part 5: Real-World Application Examples and Case Studies
20
Part 6: Deployment, DevOps, and Beyond

Building a basic REST API

As we embark on this exciting phase of building a REST API, let’s refresh our memory of the core concepts we’ve learned so far. Remember the environment setup from Chapter 3 and the deep dive into modules, controllers, providers, exception filters, pipes, guards, and decorators in Chapter 4? We’re about to bring all these elements into play.

Setting up your REST API project

Whether you’re continuing with the NestJS application from Chapter 2 or starting afresh, the principles remain the same. Let’s begin by setting up our project environment:

  • For a new project, run nest new project-name in your terminal.
  • For an existing project, navigate to your existing project directory.
  • Understanding the structure: Observe the default folders – that is, controllers, modules, and so on – just as we did in Chapter 2, as a way for you to refresh your memory:
    • Running the application: Start the application...
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.
Scalable Application Development with NestJS
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