nest
A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript ๐
Learn how to implement hybrid microservices in NestJS combining HTTP and TCP. Start your NestJS app, connect a TCP microservice, and launch them together seamlessly.
How to Use NestJS Graph Inspector for Debugging: A Complete GuideDebug your NestJS app efficiently with the Graph Inspector. Visualize and export your dependency graph to find circular dependencies and understand module wiring.
How to Use the Fastify Adapter in NestJS: A Complete GuideLearn to use the Fastify adapter in NestJS to boost performance. Install @nestjs/platform-fastify and switch from Express with our complete guide.
How to Implement Custom Exception Filters in NestJS: A Complete GuideLearn to implement custom exception filters in NestJS. Create a class, use @Catch decorator, and handle errors effectively for better application management.
How NestJS MetadataScanner Works: Prototype Introspection for Route DiscoveryDiscover how NestJS MetadataScanner uses prototype introspection and memoization to efficiently scan class inheritance chains for route discovery at startup. Learn its core functionality.
How to Implement NestJS Lifecycle Hooks: OnModuleInit and OnModuleDestroyLearn to implement NestJS lifecycle hooks OnModuleInit and OnModuleDestroy. Execute custom logic on module initialization and before application shutdown.
How to Use a Global Prefix for Routes in NestJS: Complete Implementation GuideLearn to set a global prefix for NestJS routes using app.setGlobalPrefix() in your bootstrap function. This guide explains prepend common path segments for all controllers with optional exclusions.
How to Implement API Versioning in NestJS: URI, Header, and Custom StrategiesLearn to implement API versioning in NestJS using URI, header, and custom strategies. Master request routing for robust API management with this comprehensive guide.
How to Resolve Circular Dependencies in NestJS: Complete Guide to forwardRef()Resolve circular dependencies in NestJS by implementing forwardRef() to defer class resolution and complete your module graph.
How to Use Decorators for Dependency Injection in NestJSMaster NestJS dependency injection using decorators like @Injectable() and @Inject(). Learn how NestJS uses metadata for automatic provider registration, token resolution, and scope management.
How Does the Module System Work in NestJS: A Deep Dive into the IoC Container ArchitectureUnderstand NestJS modules and their IoC container architecture. Learn how the framework uses decorators and reflection to build a runtime graph for dependency resolution. Dive deep into ModuleRef and ModulesContainer.
How to Test NestJS Applications with the Nest Testing PackageLearn how to test NestJS applications using the official nest testing package. Discover how to create a testing module to compile configure and execute unit and E2E tests efficiently.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too โ